From: Operating system: Windows 7 PHP version: 5.3.8 Package: Windows Installer Bug Type: Bug Bug description:PHPIniDir only works correctly for forward slashes, not backward slashes
Description: ------------ I think it was the installer that put the line in my httpd.conf: PHPIniDir "C:\Program Files (x86)\PHP\" This resulted in phpinfo() producing: Configuration File (php.ini) Path C:\Windows Loaded Configuration File (none) This causes the INI not to be found and PHP just uses defaults. Changing the slashes in the above line to: PHPIniDir "C:/Program Files (x86)/PHP/" and phpinfo() correctly produces: Configuration File (php.ini) Path C:\Windows Loaded Configuration File C:\Program Files (x86)\PHP\php.ini Hopefully this can get changed to accept either kind of slash since Windows Installer seems to use the wrong one. Also it would be helpful to have apache output an error log if no php.ini was found in the expected location and it was switching to defaults. -- Edit bug report at https://bugs.php.net/bug.php?id=55778&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55778&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55778&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55778&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55778&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55778&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55778&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55778&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55778&r=needscript Try newer version: https://bugs.php.net/fix.php?id=55778&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55778&r=support Expected behavior: https://bugs.php.net/fix.php?id=55778&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55778&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55778&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55778&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55778&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=55778&r=dst IIS Stability: https://bugs.php.net/fix.php?id=55778&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55778&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55778&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55778&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55778&r=mysqlcfg