#46014 [NEW]: Unable to change Configuration File Path
| From: | php at perfectory dot com dot au | Date: | Sun, 07 Sep 2008 03:43:15 +0000 |
| Subject: | #46014 [NEW]: Unable to change Configuration File Path | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-128740@lists.php.net to get a copy of this message | ||
From: php at perfectory dot com dot au
Operating system: Windows 2003 R2 x64
PHP version: 5.2.6
PHP Bug Type: *Configuration Issues
Bug description: Unable to change Configuration File Path
Description:
------------
I have manually installed PHP 5.2.6 on my Win2k3 box at C:\PHP and can not
seem to change the Configuration Path File variable. I have added the
registry key IniFilePath = C:\PHP at HKLM\SOFTWARE\PHP and
HKLM\SOFTWARE\PHP\5.2.6 and added C:\PHP to the PATH variable.
Setup: IIS6 with ISAPI. As I have a 64 bit OS, I have enabled IIS to run
both 32bit and 64bit applications. If I move the php.ini and all non-php
dlls to C:\WINDOWS it works, but I want to store this in my PHP directory.
Reproduce code:
---------------
<?php
phpinfo();
?>
Expected result:
----------------
Configuration File (php.ini) Path to be set to C:\PHP and Loaded
Configuration File to be C:\PHP\php.ini
Actual result:
--------------
Configuration File (php.ini) Path is set to C:\WINDOWS and Loaded
Configuration File is set to (none).
--
Edit bug report at http://bugs.php.net/?id=46014&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46014&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46014&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46014&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46014&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=46014&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46014&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46014&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46014&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46014&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46014&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46014&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46014&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46014&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46014&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46014&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46014&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46014&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46014&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46014&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46014&r=mysqlcfg