From: Operating system: Windows XP Pro (SP3) PHP version: 5.3.2 Package: Apache2 related Bug Type: Bug Bug description:Apache service won't start with PHP enabled
Description: ------------ Summary: as soon as I add loading PHP 5.3.2 as a module, Apache 2.2.15 service won't start. Without the load, Apache service is OK; and PHP from command line is OK. What I did: (1) Installed Apache 2.2.15 in a localhost config from httpd-2.2.15-win32-x86-no_ssl.msi (also tried the openssl version when the former + PHP didn't work). That worked just fine. (2) Installed PHP 5.3.2 from php-5.3.2-Win32-VC6-x86.msi (thread safe), which php.net says to use, as I read its instructions. (It says NOT to use the VC9 version with apache.org binaries.) Now the apache httpd service will not start. So of course I never got so far as to try a .php script in the browser. Of course I put the correct entries in PATH and PHPRC. My httpd.conf was what the apache installer set up plus my changes in appropriate spots. I retried everything after completely uninstalling both apache http and PHP, again using httpd-2.2.15-win32-x86-no_ssl.msi but this time installing PHP manually from php-5.3.2-Win32-VC6-x86.zip. File httpd.conf is what the Apache installer set up plus my edits in appropriate spots: ServerName localhost:80 DocumentRoot "E:/htdocs" <Directory "E:/htdocs"> LoadModule php5_module "D:/Server/PHP/php5apache2_2.dll" PHPIniDir "D:/Server/PHP" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps My edits to php.ini are: PHPIniDir "D:/Server/PHP/" LoadModule php5_module "D:/Server/PHP/php5apache2_2.dll" Apache error.log contains just: [warn] pid file D:/Server/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? The Windows Event log, System view shows: The Apache2.2 service terminated with service-specific error 1 (0x 1). And Windows Even log, Application view shows: Faulting application httpd.exe, version 2.2.15.0, faulting module unknown, version 0.0.0.0, fault address 0x0074f1a9. Essentially the same bug has been reported in a number of user forums, and I waited to see if anybody detected some configuration mistake, but to no avail. Test script: --------------- I don't know how to do a back-trace, since I find no explanation anywhere of what to do with the PHP debug-pack. Expected result: ---------------- Apache 2.2.15 service starts. Actual result: -------------- Apache 2.2.15 service cannot start. -- Edit bug report at http://bugs.php.net/bug.php?id=52298&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52298&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52298&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52298&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52298&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52298&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52298&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52298&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52298&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52298&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52298&r=support Expected behavior: http://bugs.php.net/fix.php?id=52298&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52298&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52298&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52298&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52298&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52298&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52298&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52298&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52298&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52298&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52298&r=mysqlcfg