php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41150 phpinfo() configure option is empty
Submitted: 2007-04-20 12:59 UTC Modified: 2007-04-27 12:30 UTC
From: php-qa at sebastianmendel dot de Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 5.2.2RC1 OS: Red Hat 7.3
Private report: No CVE-ID: None
 [2007-04-20 12:59 UTC] php-qa at sebastianmendel dot de
Description:
------------
phpinfo() shows only './configure' as Configure Command, but there was more option

previous installed php5.2-200610021230 displayed configure options correctly

Reproduce code:
---------------
phpinfo();

Expected result:
----------------
Configure Command 	 './configure' 'i386-fedora-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc' '--sharedstatedir=/usr/com' '--localstatedir=/var' '--libdir=/usr/lib' '--includedir=/usr/include' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-apxs2=/usr/sbin/apxs' '--with-layout=GNU' '--with-config-file-path=/etc' '--enable-safe-mode' '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-bcmath' '--with-bz2' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-zlib-dir' '--enable-mbstring' '--enable-memory-limit' '--with-mysql=/usr/local/mysql-5.1.11-beta-linux-i686-glibc23' '--with-mysqli=/usr/local/mysql-5.1.11-beta-linux-i686-glibc23/bin/mysql_config' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mime-magic' '--enable-exif'

Actual result:
--------------
Configure Command 	 './configure'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-20 16:20 UTC] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2007-04-21 00:25 UTC] php-qa at sebastianmendel dot de
than tell me what information is required - the page you pointed me too does not tell me what information is missing and should additionally be included in bug report.
 [2007-04-22 21:05 UTC] sniper@php.net
How exactly did you run configure?

 [2007-04-23 05:15 UTC] php-qa at sebastianmendel dot de
- open my ssh console
 - login as root
 - (download and extract php 5.2.2RC1 bz2 archive from qa.php.net)
 - run command exactly as provided below
 - than run make (, make test) and make install

this is exactly the same configure command i used before on all other versions i had previously installed (except of '--enable-exif') of PHP

(my make test report for this has same sender email address as here)
 [2007-04-23 05:16 UTC] php-qa at sebastianmendel dot de
sorry, below means before
 [2007-04-23 09:28 UTC] tony2001@php.net
Cannot reproduce.
 [2007-04-23 09:52 UTC] php-qa at sebastianmendel dot de
can you give some sort of hint where i can/should look, where does PHP normally stores this information, what sort of functions/libraries are involved into this or what is changed in the code related to this feature?
 [2007-04-23 10:31 UTC] tony2001@php.net
See main/build-defs.h, the very first define.
Shell (/bin/sh) is the only thing that is involved here and if you're saying it worked for you before, I'd say something has changed in your system, since there were no changes there for at least several months.
 [2007-04-27 10:48 UTC] php-qa at sebastianmendel dot de
main/build-defs.h:
#define CONFIGURE_COMMAND " './configure'"

same for 5.2.1 - which i tested again now

but it works with php5.2-200610021230
there the #define CONFIGURE_COMMAND line is fine, having the whole configure command

php5.2-200610021230 was the last version i had running before upgrading to 5.2.2RC1
 [2007-04-27 11:05 UTC] tony2001@php.net
What has changed in the system? Where can I reproduce it?
 [2007-04-27 11:14 UTC] php-qa at sebastianmendel dot de
nothing has changed on the system

till now i used php5.2-200610021230 where it worked and work perfectly

now i use 5.2.2RC1 where it does not work anymore - also not with 5.2.1 which i tested too


http://www.kfp-online.de/rpm.txt
http://www.kfp-online.de/php-qa.php


does this help?
 [2007-04-27 11:19 UTC] tony2001@php.net
No, I need to reproduce it myself.
 [2007-04-27 11:31 UTC] php-qa at sebastianmendel dot de
did you recieved email?
 [2007-04-27 11:34 UTC] tony2001@php.net
I did, see my reply.
 [2007-04-27 12:30 UTC] tony2001@php.net
'./configure' 'i386-fedora-linux' - this thing was breaking it.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Aug 14 01:00:02 2025 UTC