Skip to content
Advertisement

C:/Apache24/conf/httpd.conf: Cannot load c:/php7/php7apache2.dll into server: The specified module could not be found

I am new apache and php. I installed Apache server in C drive, C:Apache24. then I installed the services in CMD using this command httpd -k install. then I go to Windows Service. I can start and stop Apache2.4, it is working fine. I want to run php project. Now I installed php in C:php7.

PHP version:

JavaScript

Then I open Apache httpd.conf file (C:/Apache24/conf/httpd.conf).

JavaScript

I added the above line in httpd.conf. Then start Apache with this command httpd -k start or another I can start it in Windows Services.

Thus, I am getting this error. Why I do not know.

JavaScript

Advertisement

Answer

I figured it out myself. I installed thread safe version. Please do not install non thread safe version.

The thread safe version is VC15 x64 Thread Safe (2018-Oct-10 19:19:47)

I added this line in Apache httpd.conf file.

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement