Edit report at http://bugs.php.net/bug.php?id=51185&edit=1
ID: 51185 Updated by: paj...@php.net Reported by: randy at thehiringsurvey dot com Summary: Apache won't start after PHP 5.3.1 is installed Status: Bogus Type: Bug Package: Windows Installer Operating System: Windows 7 (x64) PHP Version: 5.3.1 New Comment: @smacdav at gmail dot com Your install is a mess then. php 5.2's sapi dll cannot work nor load with 5.3. Please ask php-setup or php-windows mailing for further supports (to any other reporters looking for help regarding the problem described here). Previous Comments: ------------------------------------------------------------------------ [2010-07-21 21:26:58] smacdav at gmail dot com It's not the path variable; it's the dll file. I had exactly the same issue. I made sure my path had the right case and tried starting Apache: no dice. I had backed up my old php (from PHP 5.2.11) folder before installing PHP 5.3, so I tried copying php5apache2_2.dll from the backed up folder into the installation folder for PHP 5.3. Bingo! Apache started up and seems to be running fine. (Haven't tested and PHP 5.3 only features yet, though.) ------------------------------------------------------------------------ [2010-03-16 00:48:07] randy at thehiringsurvey dot com Two points: 1. I did not have to manually define any PATH variables when I installed PHP 5.2.13 after I had uninstalled 5.3.1. So the 5.2.13 installer is working where the 5.3.1 failed. 2. After I got PHP 5.2.13 running I installed PEAR. I ran into a non-fatal installation problem in PEAR as well. I found out that Windows 7 is case sensitive when referring to PATHs. PEAR was creating it's PATH variable with the directory in all upper, but the actual folder was all lower. That worked on earlier Windows, but not on 7. I don't know which Windows version they made that change in. But once I edited PEAR's PATH variables to match the actual directory case the non-fatal error was resolved. I suspect that PHP 5.3.1's installer is creating a path with the wrong case, based upon the assumption that Windows doesn't care. Can't prove it without uninstalling PHP, and I can't do that right now. ------------------------------------------------------------------------ [2010-03-16 00:41:04] paj...@php.net @cunobatis at bluewin dot ch that's a configuration problem. Adding the PHP directory to your PATH is a required step when you configure PHP with Apache. ------------------------------------------------------------------------ [2010-03-16 00:36:30] cunobatis at bluewin dot ch I just had the same problem as randy and adding the path where php resides to my PATH varible did the trick indeed! ------------------------------------------------------------------------ [2010-03-04 16:49:52] paj...@php.net interbase is not available in 5.3, so I think you were using the old php.ini or messing extensions. ------------------------------------------------------------------------ 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/bug.php?id=51185 -- Edit this bug report at http://bugs.php.net/bug.php?id=51185&edit=1