Reputation: 2015
I tried to get PHP4 working on WampServer, but whenever I started WampServer, the icon would go to orange but not all the way to green, because Apache wasn't starting.
I've explained how I got it working below. Hopefully this helps someone.
Upvotes: 1
Views: 3141
Reputation: 2015
C:\wamp\bin\apache\Apache2.0.63\bin\apache.exe
. Fix any error reported, and repeat until you don't get any errors.Syntax error on line 22 of C:/wamp/alias/phpmyadmin.conf: The specified IP address is invalid.
Syntax error on line 22 of C:/wamp/alias/sqlbuddy.conf: The specified IP address is invalid.
Syntax error on line 22 of C:/wamp/alias/webgrind.conf: The specified IP address is invalid.
The lines with errors were all the same: Allow from ::1
. I commented them out to #Allow from ::1
, which seemed to fix the error.
C:\Wamp\bin\php\php5.4.16\wampserver.conf
.Add the following lines:
$phpConf['apache']['2.4']['LoadModuleName'] = 'php5_module';
$phpConf['apache']['2.4']['LoadModuleFile'] = 'php5apache2_4.dll';
$phpConf['apache']['2.4']['AddModule'] = '';
Upvotes: 3