#39799 [Asn->Csd]: Windows installer does not set PHPIniDir properly
| From: | jmertic@php.net | Date: | Tue, 12 Dec 2006 16:31:30 +0000 |
| Subject: | #39799 [Asn->Csd]: Windows installer does not set PHPIniDir properly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106261@lists.php.net to get a copy of this message | ||
ID: 39799
Updated by: jmertic@php.net
Reported By: php at ahlenstorf dot ch
-Status: Assigned
+Status: Closed
Bug Type: Unknown/Other Function
Operating System: Windows XP SP2
PHP Version: 5.2.0
Assigned To: jmertic
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-12-11 15:58:00] tony2001@php.net
John, please check this out.
------------------------------------------------------------------------
[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