Re: PHP 4.0 Bug #6923 Updated: phpinfo display --with-ftp in place of --enable-ftp

From: Date: Sat, 07 Oct 2000 00:23:39 +0000
Subject: Re: PHP 4.0 Bug #6923 Updated: phpinfo display --with-ftp in place of --enable-ftp
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-34424@lists.php.net to get a copy of this message
On 6 Oct 2000, Bug Database wrote: > ID: 6923 > Updated by: sniper > Reported By: bugs@agarik.com > Status: Closed > Bug Type: *Install and Config > Assigned To: > Comments: > > This is most likely fixed in PHP 4.0.3RC2 since I have --enable-ftp > there like it should be. > > --Jani > > Previous Comments: > --------------------------------------------------------------------------- > > [2000-09-28 06:59:10] bugs@agarik.com > I compile php 4.0.2 with this configure : > > ./configure --with-pgsql=/usr/lib/pgsql --enable-bcmath --with-mysql=yes --with-tiff-dir > --with-jpeg-dir --with-png-dir --with-ldap=yes --with-imap=yes --with-gd=yes --with-zlib=yes > --with-xml --with-ttf --enable-ftp --with-dbm --with-ndbm --with-gdbm --with-snmp --with-gettext > --with-config-file-path=/etc/httpd --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/lib/apache/bin > --enable-versioning --enable-yp --enable-trans-sid --enable-inline-optimization > --enable-track-vars --enable-magic-quotes --enable-safe-mode --enable-sysvsem --enable-sysvshm > --enable-calendar --enable-memory-limit --enable-wddx --with-readline --with-openssl > > but phpinfo() display : > > './configure' '--with-pgsql=/usr/lib/pgsql' '--enable-bcmath' > '--with-mysql=yes' '--with-tiff-dir' '--with-jpeg-dir' > '--with-png-dir' '--with-ldap=yes' '--with-imap=yes' > '--with-gd=yes' '--with-zlib=yes' '--with-xml' '--with-ttf' > '--with-ftp' '--with-dbm' '--with-ndbm' '--with-gdbm' > '--with-snmp' '--with-gettext' '--with-config-file-path=/etc/httpd' > '--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/lib/apache/bin' > '--enable-versioning' '--enable-yp' '--enable-trans-sid' > '--enable-inline-optimization' '--enable-track-vars' > '--enable-magic-quotes' '--enable-safe-mode' '--enable-sysvsem' > '--enable-sysvshm' '--enable-calendar' '--enable-memory-limit' > '--enable-wddx' '--with-readline' '--with-openssl' > > --with-ftp in place of --enable-ftp ! And we all know that --with-ftp work only with PHP3 and > not with PHP4 so it could lead to some fake alerts. Just an addendum: The line in phpinfo() is created directly from the command line without any filtering or other magic going on. The cause of this is definitely related to passing --with-ftp to the configure script. The ftp extension was changed to use --enable instead of --with a couple of months ago, before PHP 4.0.2 was released. - Sascha

« previous php.dev (#34424) next »