Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing PHP7 and Apache2.4 - php7apache2_4.dll error on Windows 10

Just got on a Windows 10 and after I configured my php.ini and http.conf I went on the command line httpd.exe and got this error message:

httpd.exe: Syntax error on line 530 of C:/Apache/conf/httpd.conf: Cannot load C:/php/php7apache2_4.dll into server: The specified module could not be found.

I KNOW this file is in that folder. I've installed both 64 bits version of PHP and Apache and I don't know what's going on.

like image 348
Storm Parker Avatar asked Apr 07 '16 18:04

Storm Parker


1 Answers

Check whether you have installed Thread safe version of PHP. Non Thread safe version will cause this error.

You can download thread safe version of PHP here

like image 77
Kumar Avatar answered Sep 23 '22 13:09

Kumar