Bug #61153 [Com]: phpinfo reporting incorrect Configure Command
| From: | 935c at itsynergy dot co dot uk | Date: | Tue, 21 Feb 2012 17:36:17 +0000 |
| Subject: | Bug #61153 [Com]: phpinfo reporting incorrect Configure Command | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-167706@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61153&edit=1
ID: 61153
Comment by: 935c at itsynergy dot co dot uk
Reported by: 935c at itsynergy dot co dot uk
Summary: phpinfo reporting incorrect Configure Command
Status: Open
Type: Bug
Package: PHP options/info functions
Operating System: Scientific Linux 6.1
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
Whilst you're in the mood for not believing me, why not check out the hard facts
in my QA Report ?
http://qa.php.net/reports/details.php?
version=5.3.10&signature=30a4793560ae3e5862c1d5f16d5fa5fc&idreport=1519#phpinfo
Previous Comments:
------------------------------------------------------------------------
[2012-02-21 17:30:20] 935c at itsynergy dot co dot uk
Do you seriously think I'm that stupid ?
(1) I am only running one version of PHP on that server
(2) Before, phpinfo stated 5.3.9, now it states 5.3.10 ... thus I am running the
right version
(3) The build date is Feb 21 2012 14:02:25, which you see correlates to the time
I opened this ticket.
------------------------------------------------------------------------
[2012-02-21 17:27:01] rasmus@php.net
I am pretty sure you are not running the php that you built with that configure
line then. I don't see how it could end up having a different configure line in
phpinfo() the way the code is written. Please triple-check by looking at the
"Build Date" near the top of the phpinfo() output.
------------------------------------------------------------------------
[2012-02-21 14:19:40] 935c at itsynergy dot co dot uk
Description:
------------
I called configure as follows :
"./configure -sysconfdir=/etc/mydir --with-xmlrpc"
However phpinfo() reports the configure command as :
"'./configure'"
(i.e. no args are shown)
Test script:
---------------
<?php
phpinfo();
?>
Expected result:
----------------
Phpinfo should show "./configure -sysconfdir=/etc/mydir --with-xmlrpc"
Actual result:
--------------
'./configure'
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61153&edit=1