I'm using Apache2.4 and PHP 7.
When I added the following two lines in 'httpd.conf' of Apache, it stopped working.
LoadModule php7_module "D:/ProgramFiles/PHP/php7apache2_4.dll"
PHPIniDir "D:/ProgramFiles/PHP"
The error message is like this:
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.
Anyone have any idea?