#41332 [Fbk->Opn]: PHPInfo not showing full ./configure used

From: Date: Tue, 08 May 2007 20:47:11 +0000
Subject: #41332 [Fbk->Opn]: PHPInfo not showing full ./configure used
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-112421@lists.php.net to get a copy of this message
ID: 41332 User updated by: chawming at pacific dot net dot sg Reported By: chawming at pacific dot net dot sg -Status: Feedback +Status: Open Bug Type: *Configuration Issues Operating System: RHEL 3 Taroon 8 PHP Version: 5.2.2 New Comment: That worked. Thanks. But shouldn't configure fail if there are invalid parameters? In this case, whatever is not showing in phpinfo is actually still compiled in e.g. mysql ext etc. Previous Comments: ------------------------------------------------------------------------ [2007-05-08 20:20:19] tony2001@php.net -with-jpeg-dir=/usr -disable-rpath Fix your configure line and try again. ------------------------------------------------------------------------ [2007-05-08 20:17:06] chawming at pacific dot net dot sg Description: ------------ The ./configure parameter displayed in phpinfo, either in a PHP script with phpinfo() or in CLI display a truncated version of the actual configuration used Reproduce code: --------------- php -i | grep ./configure | sed s#"'"#""#g Expected result: ---------------- ./configure --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --cache-file=../config.cache --enable-force-cgi-redirect --disable-debug -disable-rpath --enable-inline-optimization --with-bz2 --with-d4=/usr --with-curl --with-dom=/usr --with-exec-dir=/usr/bin --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-gettext --with-ncurses --with-gmp --with-iconv -with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-regex=system --with-xml --with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-discard-path --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-pear=/usr/share/pear --with-kerberos=/usr/kerberos --with-ldap=shared --with-mysql=/usr/bin/mysql_config --enable-memory-limit --enable-bcmath --enable-calendar --enable-dbx --enable-dio --enable-mcal --with-apxs2filter=/usr/sbin/apxs Actual result: -------------- ./configure --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstat ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41332&edit=1

« previous php.bugs (#112421) next »