note 102064 added to install.windows.apache2

From: Date: Tue, 25 Jan 2011 21:43:13 +0000
Subject: note 102064 added to install.windows.apache2
Groups: php.notes 
Request: Send a blank email to php-notes+get-176306@lists.php.net to get a copy of this message
If Apache won't start after PHP install, check for this scenario: When I followed the instructions for the Windows installer, using Apache HTTP server 2.2.17, the install completed normally but Apache would then fail to start. It turned out that the installer was not properly configuring the last section of Apache's httpd.conf file: #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "c:/php/" LoadModule php5_module "c:/php/php5apache2_2.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL The text above is the correct configuration (in my case, I had asked the installer to place PHP into directory C:/PHP.) However, the installer omitted the string "c:/php/" from the two lines above where you can see them. I had to edit the file, and add that string in manually, before Apache would start correctly. ---- Server IP: 69.147.83.197 Probable Submitter: 208.77.235.194 ---- Manual Page -- http://www.php.net/manual/en/install.windows.apache2.php Edit -- https://master.php.net/note/edit/102064 Del: integrated -- https://master.php.net/note/delete/102064/integrated Del: useless -- https://master.php.net/note/delete/102064/useless Del: bad code -- https://master.php.net/note/delete/102064/bad+code Del: spam -- https://master.php.net/note/delete/102064/spam Del: non-english -- https://master.php.net/note/delete/102064/non-english Del: in docs -- https://master.php.net/note/delete/102064/in+docs Del: other reasons-- https://master.php.net/note/delete/102064 Reject -- https://master.php.net/note/reject/102064 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#176306) next »