Problem while configuring Apache

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Prasanna Adhikari
Forum Newbie
Posts: 1
Joined: Tue Jan 05, 2016 10:36 pm

Problem while configuring Apache

Post by Prasanna Adhikari »

No idea whether this post suits here or not, hope you understand.
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 was working well while I was using PHP5, and the file was php5apache2_4.dll

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.
:?:
Post Reply