Edit report at http://bugs.php.net/bug.php?id=48831&edit=1
ID: 48831 Updated by: [email protected] Reported by: RQuadling at GMail dot com Summary: php -i has different output to php --ini Status: Assigned Type: Bug Package: CGI related Operating System: * PHP Version: 5.* Assigned To: pajoye Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2011-06-12 01:27:14] [email protected] Oh sorry, I was comparing rev 303357. :) ------------------------------------------------------------------------ [2011-06-12 01:24:22] [email protected] 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] [email protected] The changes in 5_3 were different from trunk. ------------------------------------------------------------------------ [2011-06-09 00:05:43] [email protected] The bug is still in effect. The changes made don't actually effect the output. The commit made only added a single extern and did not amend the code to display the php ini scan dir. The supplied patch covered all the bases. ------------------------------------------------------------------------ [2010-09-14 12:36:28] [email protected] 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. ------------------------------------------------------------------------ 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
