I am trying to run a PHP App and keep getting an error when trying to set up Apache 2.4.
The error is:
httpd: Syntax error on line 72 of C:/Apache24/Apache24/conf/httpd.conf
cannot load modules/mod_access_compat.so into server:
The specified module could not be found.
Does anyone know how to fix this?
The ServerRoot
variable inside of httpd.conf
should look like this:
ServerRoot "C:/your/path/to/apache/install"
By default this is ServerRoot "C:/Apache24"
.
Also remember to check your DocumentRoot
directive to make sure it is pointing at the actual website code.
You need to make sure that your Apache24 folder is saved into the C: drive. Your path to the bin folder that contains the httpd.exe should look like this (in windows that is):
C:\Apache24\bin
not:
C:\Apache24\Apache24\bin
This will work once you have navigated to this directory on the command line and typed httpd.exe, after hitting enter if the cursor just moves to the next line and you get no warning then you're goo to go
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With