#41497 [NEW]: php.ini not loaded
From: dbjh at gmx dot net
Operating system: RHEL 4
PHP version: 5.2.2
PHP Bug Type: PHP options/info functions
Bug description: php.ini not loaded
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 bug report at http://bugs.php.net/?id=41497&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41497&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41497&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41497&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41497&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41497&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41497&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41497&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41497&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41497&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41497&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41497&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41497&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41497&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41497&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41497&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41497&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41497&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41497&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41497&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41497&r=mysqlcfg
Thread (10 messages)
- dbjh at gmx dot net