Bug #67814 [NEW]: Loading of additional user_ini files not reported in phpinfo output

From: Date: Sat, 09 Aug 2014 16:47:32 +0000
Subject: Bug #67814 [NEW]: Loading of additional user_ini files not reported in phpinfo output
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187051@lists.php.net to get a copy of this message
From: crdillon+php at gmail dot com Operating system: CentOS 6.5 PHP version: 5.5.15 Package: *Configuration Issues Bug Type: Bug Bug description:Loading of additional user_ini files not reported in phpinfo output Description: ------------ If an additional configuration file is used that is defined by user_ini.filename, ".user.ini" by default, the fact that it is loaded is not reported anywhere in phpinfo() output. Test script: --------------- In an otherwise default configuration, making a custom configuration change via a user_ini file proves that the user_ini file is being loaded and parsed correctly: [/home/example/public_html]# cat .user.ini error_log = /home/example/php_errors.log [/home/example/public_html]# cat phpinfo.php <?php phpinfo(); ?> # curl -s http://example.tld/phpinfo.php | grep error_log <tr><td class="e">error_log</td><td class="v">/home/example/php_errors.log</td><td class="v">error_log</td></tr> Expected result: ---------------- These user_ini files should be listed under "Additional .ini files parsed" of phpinfo() output when they exist and are loaded. Actual result: -------------- "Additional .ini files parsed" is currently not reporting the existence of these user_ini files: [/home/example/public_html]# curl -s http://example.tld/phpinfo.php | grep "Additional .ini files parsed" <tr><td class="e">Additional .ini files parsed </td><td class="v">(none) </td></tr> -- Edit bug report at https://bugs.php.net/bug.php?id=67814&edit=1 --

« previous php.bugs (#187051) next »