|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesScanIniDir (last revision 2010-04-12 15:23 UTC by rquadling@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-07 11:28 UTC] rquadling@php.net
[2009-08-24 12:48 UTC] RQuadling at GMail dot com
[2010-04-12 17:23 UTC] rquadling@php.net
[2010-09-14 12:36 UTC] pajoye@php.net
[2010-09-14 12:36 UTC] pajoye@php.net
-Status: Assigned
+Status: Closed
-PHP Version: 5.*, 6CVS (2009-07-07)
+PHP Version: 5.*
[2010-09-14 12:36 UTC] pajoye@php.net
[2011-06-09 00:05 UTC] rquadling@php.net
-Status: Closed
+Status: Re-Opened
-Assigned To: pajoye
+Assigned To:
[2011-06-09 00:05 UTC] rquadling@php.net
[2011-06-11 04:01 UTC] felipe@php.net
-Status: Re-Opened
+Status: Assigned
-Assigned To:
+Assigned To: pajoye
[2011-06-11 04:01 UTC] felipe@php.net
[2011-06-12 01:24 UTC] pajoye@php.net
[2011-06-12 01:27 UTC] felipe@php.net
[2011-06-12 01:43 UTC] rquadling@php.net
[2011-06-12 01:46 UTC] felipe@php.net
[2011-06-12 01:47 UTC] felipe@php.net
-Status: Assigned
+Status: Closed
[2011-06-12 01:47 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 16:00:01 2025 UTC |
Description: ------------ If the environment variable PHP_INI_SCAN_DIR is set, then php -i outputs the path and any ini files. If you enter php --ini the ini files are correct, but the scan directory is not. php --ini is only showing the PHP_CONFIG_FILE_SCAN_DIR value rather than the php_ini_scanned_path (which may be PHP_CONFIG_FILE_SCAN_DIR if there is no PHP_INI_SCAN_DIR envvar). Patch below Index: php_cli.c =================================================================== RCS file: /repository/php-src/sapi/cli/php_cli.c,v retrieving revision 1.211 diff -u -r1.211 php_cli.c --- php_cli.c 5 Jun 2009 18:50:10 -0000 1.211 +++ php_cli.c 7 Jul 2009 11:16:14 -0000 @@ -1360,7 +1360,7 @@ { zend_printf("Configuration File (php.ini) Path: %s\n", PHP_CONFIG_FILE_PATH); zend_printf("Loaded Configuration File: %s\n", php_ini_opened_path ? php_ini_opened_path : "(none)"); - zend_printf("Scan for additional .ini files in: %s\n", *PHP_CONFIG_FILE_SCAN_DIR ? PHP_CONFIG_FILE_SCAN_DIR : "(none)"); + zend_printf("Scan for additional .ini files in: %s\n", php_ini_scanned_path ? php_ini_scanned_path : "(none)"); zend_printf("Additional .ini files parsed: %s\n", php_ini_scanned_files ? php_ini_scanned_files : "(none)"); break; }