mirror of
https://github.com/php/php-src.git
synced 2026-04-11 01:53:36 +02:00
Report configuration path that is really used, not that is compiled in
# it does matter when using -c option
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
#define SECTION(name) PUTS("<H2>" name "</H2>\n")
|
||||
|
||||
#define CREDIT_LINE(module, authors) php_info_print_table_row(2, module, authors)
|
||||
|
||||
PHPAPI extern char *php_ini_path;
|
||||
|
||||
static int _display_module_info(zend_module_entry *module, void *arg)
|
||||
{
|
||||
@@ -191,7 +191,7 @@ PHPAPI void php_print_info(int flag)
|
||||
php_info_print_table_row(2, "Virtual Directory Support", "disabled" );
|
||||
#endif
|
||||
|
||||
php_info_print_table_row(2, "Configuration File (php.ini) Path", CONFIGURATION_FILE_PATH );
|
||||
php_info_print_table_row(2, "Configuration File (php.ini) Path", php_ini_path?php_ini_path:CONFIGURATION_FILE_PATH );
|
||||
|
||||
#if ZEND_DEBUG
|
||||
php_info_print_table_row(2, "ZEND_DEBUG", "enabled" );
|
||||
|
||||
Reference in New Issue
Block a user