#39799 [Opn->Asn]: Windows installer does not set PHPIniDir properly
| From: | tony2001@php.net | Date: | Mon, 11 Dec 2006 15:58:00 +0000 |
| Subject: | #39799 [Opn->Asn]: Windows installer does not set PHPIniDir properly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106203@lists.php.net to get a copy of this message | ||
ID: 39799
Updated by: tony2001@php.net
Reported By: php at ahlenstorf dot ch
-Status: Open
+Status: Assigned
-Bug Type: *Configuration Issues
+Bug Type: Unknown/Other Function
Operating System: Windows XP SP2
PHP Version: 5.2.0
-Assigned To:
+Assigned To: jmertic
New Comment:
John, please check this out.
Previous Comments:
------------------------------------------------------------------------
[2006-12-11 15:53:18] php at ahlenstorf dot ch
Description:
------------
The Windows Installer of PHP 5.2.0 fails to properly set the PHPIniDir
directive in Apache 2.2.3. Result: PHP does not use the php.ini
configured by the Windows Installer residing in C:\Programme\PHP (or
whatever your install dir of PHP is). Instead it looks for a php.ini in
C:\Windows.
The cause of the problem is the usage of single backslashes in the
path:
PHPIniDir "C:\Programme\PHP\"
Using double backslashes like
PHPIniDir "C:\\Programme\\PHP\\"
or forward slashes like
PHPIniDir "C:/Programme/PHP/"
will fix the problem.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39799&edit=1