ID: 41497 User updated by: dbjh at gmx dot net Reported By: dbjh at gmx dot net Status: Open Bug Type: PHP options/info functions Operating System: RHEL 4 PHP Version: 5.2.2 New Comment:
The problem is also present on RHEL 5. The same workaround can be used. I meant phpinfo(), not php_info(). Previous Comments: ------------------------------------------------------------------------ [2007-05-25 11:46:51] dbjh at gmx dot net Description: ------------ Problem: php.ini won't be loaded from /etc. When I set PHPIniDir in httpd.conf to /etc it still won't be loaded (judged from the output of php_info()). Workaround: When I set PHPIniDir to /etc/php/ and put php.ini in that directory it is loaded. Another workaround is putting php.ini in /etc/php.d/. In the latter case php_info() reports "(none)" at "Loaded Configuration File", but is mentioned at "additional .ini files parsed". Looking at other output of php_info() it is clear that it really is loaded. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41497&edit=1