php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27386 phpinfo() ./configure listing is incorrect
Submitted: 2004-02-24 18:11 UTC Modified: 2004-02-26 13:51 UTC
From: jon dot bertsch at ucop dot edu Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5.0.0b4 (beta4) OS: Mac 10.3.2
Private report: No CVE-ID: None
 [2004-02-24 18:11 UTC] jon dot bertsch at ucop dot edu
Description:
------------
After compiling php and setting it up on the server I 
check that it's working using phpinfo(). After adding 
several new modules and recompiling I have a working 
version of PHP but the compile information in phpinfo() 
is incorrect. I deleted the config.cache and tried 
again, still wrong.

Reproduce code:
---------------
./configure' '--prefix=/usr' '--disable-all' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-apxs' '--with-mysql=/usr/local/mysql' '--with-pear' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-config-file-path=/etc' '--with-unixODBC' '--enable-xml' '--with-pcre-regex'

Expected result:
----------------
This is my actual compile script:
'--prefix=/usr'  '--exec-prefix=/usr' '--bindir=/usr/
bin' '--sbindir=/usr/sbin' '--with-config-file-path=/
usr/local/php5' '--sysconfdir=/etc' '--datadir=/usr/
share' '--includedir=/usr/include' '--libdir=/usr/lib' 
'--mandir=/usr/share/man' '--infodir=/usr/share/info' 
'--with-apxs' '--with-mysql=/usr/local/mysql' '--with-
pear' '--with-pcre-regex' '--with-ldap=/usr' '--with-
kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--
enable-trans-sid' '--enable-exif' '--enable-ftp' '--
enable-mbstring'  '--enable-dbx' '--enable-sockets' '--
with-iodbc=/usr'  '--with-unixODBC'  '--with-libxml-
dir=/usr/local' '--with-expat-dir=/usr/local/php5' '--
with-dom=/usr/local/php5' '--with-dom-xslt=/usr/local' 
'--with-dom-exslt=/usr/local' '--with-xslt-sablot=/usr/
local/php5' '--enable-xslt' '--with-ldap' '--with-gd' 
'--with-png-dir=/usr/local/libpng' '--with-jpeg=/usr' 
'--with-jpeg-dir=/usr/local/jpeg' 

Actual result:
--------------
Modules/extensions such as sessions, xml, dom_xml, gd, 
libxml etc. are all up and running as expected and show 
in phpinfo() listing.

It's reading some incorrect file or some cache somewhere 
is not getting overwritten I would guess.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-25 08:22 UTC] sniper@php.net
# make clean

 [2004-02-26 13:51 UTC] jon dot bertsch at ucop dot edu
make clean fails and gives an error - that's why I sent in the bug report
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 21:01:28 2024 UTC