Adding following two lines in 'httpd.conf' is not letting Apache to start:
Code: Select all
LoadModule php7_module "D:/ProgramFiles/PHP/php7apache2_4.dll"
PHPIniDir "D:/ProgramFiles/PHP"
It would be great if you help me what is wrong. The error message is like this:
Code: Select all
D:\ProgramFiles\ApacheHTTPServer\bin>httpd.exe
httpd.exe: Syntax error on line 180 of D:/ProgramFiles/ApacheHTTPServer/conf/httpd.conf: Cannot load D:/ProgramFiles/PHP/php7apache2_4.dll into server: The specified module could not be found.
