k***@php.net
2010-09-02 09:09:55 UTC
Edit report at http://bugs.php.net/bug.php?id=52753&edit=1
ID: 52753
Updated by: ***@php.net
Reported by: jrompre at gmail dot com
Summary: With proposed fix: use of '/' in httpd.conf causes
apache crash
-Status: Open
+Status: Assigned
Type: Bug
Package: Apache2 related
Operating System: Win/XP
PHP Version: 5.3.3
-Assigned To:
+Assigned To: pajoye
Block user comment: N
New Comment:
Seems like its intended in the win-installer, see:
PHPInstallerScripts{XXX}.vbs
strPHPPath = Replace(strInstallDir,"\","/")
Guess that should be reverted, but I don't have karma for that part.
Pierre? :)
Previous Comments:
------------------------------------------------------------------------
[2010-08-31 21:05:50] jrompre at gmail dot com
Description:
------------
This is easy, and I fixed it myself. I installed the V6 thread-safe
version (Windows) with the Apache2.2x module config option, and
restarted Apache, which caused an Apache crash. The problem was caused
by the httpd.conf added fragment which wrongly uses the Unix path
element separator - changing the '/' to a '\' fixed the problem, and I
could also see the test hello.php output as expected.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
(change all '/' to '\' to prevent crashes in Windows)
Test script:
---------------
N/A
Expected result:
----------------
See description
Actual result:
--------------
See description
------------------------------------------------------------------------
ID: 52753
Updated by: ***@php.net
Reported by: jrompre at gmail dot com
Summary: With proposed fix: use of '/' in httpd.conf causes
apache crash
-Status: Open
+Status: Assigned
Type: Bug
Package: Apache2 related
Operating System: Win/XP
PHP Version: 5.3.3
-Assigned To:
+Assigned To: pajoye
Block user comment: N
New Comment:
Seems like its intended in the win-installer, see:
PHPInstallerScripts{XXX}.vbs
strPHPPath = Replace(strInstallDir,"\","/")
Guess that should be reverted, but I don't have karma for that part.
Pierre? :)
Previous Comments:
------------------------------------------------------------------------
[2010-08-31 21:05:50] jrompre at gmail dot com
Description:
------------
This is easy, and I fixed it myself. I installed the V6 thread-safe
version (Windows) with the Apache2.2x module config option, and
restarted Apache, which caused an Apache crash. The problem was caused
by the httpd.conf added fragment which wrongly uses the Unix path
element separator - changing the '/' to a '\' fixed the problem, and I
could also see the test hello.php output as expected.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
(change all '/' to '\' to prevent crashes in Windows)
Test script:
---------------
N/A
Expected result:
----------------
See description
Actual result:
--------------
See description
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52753&edit=1
Edit this bug report at http://bugs.php.net/bug.php?id=52753&edit=1