ID: 41497 Updated by: [EMAIL PROTECTED] Reported By: dbjh at gmx dot net -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: RHEL 4 PHP Version: 5.2.2 New Comment:
You've just used wrong configuration options. Please check "./configure --help" for more information. Note: all ini related options expect PATH to be passed, without the php.ini. (NOT full-path!) Previous Comments: ------------------------------------------------------------------------ [2007-05-25 13:25:45] dbjh at gmx dot net The problem is also present on RHEL 5. The same workaround can be used. I meant phpinfo(), not php_info(). ------------------------------------------------------------------------ [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
