Bug #52753 [NEW]: With proposed fix: use of '/' in httpd.conf causes apache crash
| From: | jrompre at gmail dot com | Date: | Tue, 31 Aug 2010 19:05:50 +0000 |
| Subject: | Bug #52753 [NEW]: With proposed fix: use of '/' in httpd.conf causes apache crash | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-153984@lists.php.net to get a copy of this message | ||
From:
Operating system: Win/XP
PHP version: 5.3.3
Package: Apache2 related
Bug Type: Bug
Bug description:With proposed fix: use of '/' in httpd.conf causes apache crash
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 bug report at http://bugs.php.net/bug.php?id=52753&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52753&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52753&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52753&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52753&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52753&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52753&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52753&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52753&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52753&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52753&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52753&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52753&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52753&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52753&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52753&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52753&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52753&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52753&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52753&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52753&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52753&r=mysqlcfg