Bug #48831 [Asn->Csd]: php -i has different output to php --ini
| From: | felipe@php.net | Date: | Sat, 11 Jun 2011 23:47:16 +0000 |
| Subject: | Bug #48831 [Asn->Csd]: php -i has different output to php --ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161328@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=48831&edit=1
ID: 48831
Updated by: felipe@php.net
Reported by: RQuadling at GMail dot com
Summary: php -i has different output to php --ini
-Status: Assigned
+Status: Closed
Type: Bug
Package: CGI related
Operating System: *
PHP Version: 5.*
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Yeah, I noticed that was comparing the wrong lines, thanks.
Previous Comments:
------------------------------------------------------------------------
[2011-06-12 01:46:36] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=312072
Log: - Fix missing change from r303357 (related to bug #48831)
------------------------------------------------------------------------
[2011-06-12 01:43:52] rquadling@php.net
Please look at the patch : http://bugs.php.net/patch-display.php?
bug_id=48831&patch=ScanIniDir&revision=latest
The line to be removed is ...
zend_printf("Scan for additional .ini files in: %s\n", *PHP_CONFIG_FILE_SCAN_DIR
? PHP_CONFIG_FILE_SCAN_DIR : "(none)");
and should be replaced with ...
zend_printf("Scan for additional .ini files in: %s\n", php_ini_scanned_path ?
php_ini_scanned_path : "(none)");
As you've shown in lxr, this has not happened in PHP_5_3
OOI, I've never actually built trunk, only PHP_5_3 (and soon to be using 5.4
also, just as soon as I work out a way to build both on 1 setup AND support
testing of them AND having an official build as standard).
What I mean by that is that I only ever tested my patch on 5.3. I was quite new
to building things and didn't touch trunk.
Thanks for coming back and looking.
------------------------------------------------------------------------
[2011-06-12 01:27:14] felipe@php.net
Oh sorry, I was comparing rev 303357. :)
------------------------------------------------------------------------
[2011-06-12 01:24:22] pajoye@php.net
http://lxr.php.net/opengrok/xref/PHP_5_3/sapi/cli/php_cli.c#1365
and
http://lxr.php.net/opengrok/xref/PHP_TRUNK/sapi/cli/php_cli.c#1314
The patch has been applied as it was afaict. Or what are you referring to?
------------------------------------------------------------------------
[2011-06-11 04:01:50] felipe@php.net
The changes in 5_3 were different from trunk.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=48831
--
Edit this bug report at http://bugs.php.net/bug.php?id=48831&edit=1