Reputation: 147
Today I have installed php7
, but when I restart the apache, it couldn't start. again despite I edited the httpd-xampp.conf
file to config php7
.
anyway I went to C:/xampp
and run the apache_start.bat
, then I saw the following error
Apache 2 is starting ...
httpd.exe: Syntax error on line 456 of C:/xampp/apache/conf/httpd.conf: Syntax error on line 17 of C:/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load C:/xampp/php/php7ts.dll into server: The specified module could not be found.
after that I checked those file and saw they're exist. what can I do now?
thanks in advance...
Upvotes: 2
Views: 7168
Reputation: 3182
You need to have all the components installed in the same x64/x86 version :
httpd.exe -v
to find out which one is installed)php.exe -v
to find out which one is installed)If one of the above component is not in the same version than the others, you could get the module could not be found
error.
Upvotes: 1