WAMP Package: VertrigoServ 2.29
OS: Windows 2008 Server R2 Standard
ERROR(in the event log):
Syntax error on line 134 of xxxx/apache/conf/httpd.conf: Cannot load xxxxxxxxx/php/php5apache2_2.dll into server:
The application has failed to start because its side-by-side configuration is incorrect.
Please see the application event log or use the command-line sxstrace.exe tool for more detail.
LoadModule php5_module "xxx/php/php5apache2_2.dll"
NOTE: xxx is where my WAMP package is installed.
I fixed my problem by installing the Visual C++ 2008 32-bit Redistrible Package from Microsoft.
While researching this problem i found that Apache was reporting that port 80 was in use yet doing a netstat -aon for example did not reveal any process using the port. But when checked the error logs i found this side-by-side config error and decided to google that, and viola! problem solved.
Another thing i learnt during this is searching through DOS commands results for specific text e.g.
netstat -aon | find ":80" OR netstat -aon | findstr ":80"
where the command checks for programs using port 80