Wednesday, May 11, 2016

Cannot load modules/mod_ssl.so into server: The operating system cannot run The Apache service named. .

in Windows, If you have Event 3299 error in the event viewer::
The Apache service named  reported the following error:
>>> httpd.exe: Syntax error on line 167 
Cannot load modules/mod_ssl.so into server: The operating system cannot run The Apache service named.

Then check the VC compatibility , I had this error when I tried to run Apache 2.4.20  VC14 ( C++ Redistributable Visual Studio), with php 5.6 which compiled using VC11, which is not compatible, So to solve this issue there are two methods:
The first is upgrade PHP by downloading the  PHP version compiled with VC14, Or to downgrade Apache server and download the VC11 version.
Apache Versions can be downloaded from http://www.apachelounge.com.
Php versions can be downloaded from http://windows.php.net/download/