#41408 [Csd]: PHPIniDir Uses Backslashes in httpd.conf so can't find php.ini
| From: | alison dot holloway at oracle dot com | Date: | Thu, 24 May 2007 07:12:53 +0000 |
| Subject: | #41408 [Csd]: PHPIniDir Uses Backslashes in httpd.conf so can't find php.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-112977@lists.php.net to get a copy of this message | ||
ID: 41408
User updated by: alison dot holloway at oracle dot com
Reported By: alison dot holloway at oracle dot com
Status: Closed
Bug Type: Unknown/Other Function
Operating System: Windows XP SP2
PHP Version: 5.2.2
Assigned To: jmertic
New Comment:
I tested the new release. It works. I seem to remember reading that
double back slashes are the same as a forward slash, so I'm assuming
that's why it now works.
The entry in httpd.conf is now:
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\\Program Files\\PHP\\"
LoadModule php5_module "C:\\Program Files\\PHP\\php5apache2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
Although the phpinfo() displays the following output:
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\Program Files\PHP\php.ini
For some reason the path is still showing the incorrect folder, but it
is loading the correct file.
Previous Comments:
------------------------------------------------------------------------
[2007-05-21 18:29:48] jmertic@php.net
Try the following "unoffical" re-spin:
http://files.edin.dk/php/installer/php-5.2.2-2-win32-installer.msi
------------------------------------------------------------------------
[2007-05-16 18:15:38] jmertic@php.net
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.
------------------------------------------------------------------------
[2007-05-16 17:38:56] jmertic@php.net
Nevermind that, snaps isn't building a working installer at the moment.
I'm going to get the installer respun for 5.2.2 here shortly.
------------------------------------------------------------------------
[2007-05-16 17:17:39] jmertic@php.net
Try latest installer from snaps to see if it does the correct
behavior.
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
------------------------------------------------------------------------
[2007-05-16 12:47:39] jmertic@php.net
What is the value of PHPIniDir before you make the change?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41408
--
Edit this bug report at http://bugs.php.net/?id=41408&edit=1