Apache错误:无法加载mod_access_compat.so [英] Apache error: cannot load mod_access_compat.so
问题描述
我正在尝试运行PHP应用程序,并在尝试设置Apache 2.4时始终出现错误.
错误是:
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:C:/Apache24/Apache24/conf/httpd.conf
的第72行的语法错误 无法将modules/mod_access_compat.so加载到服务器中:
指定的模块无法找到.
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?
推荐答案
httpd.conf
内的ServerRoot
变量应如下所示:
The ServerRoot
variable inside of httpd.conf
should look like this:
ServerRoot "C:/your/path/to/apache/install"
默认为ServerRoot "C:/Apache24"
.
还请记住检查您的DocumentRoot
指令,以确保它指向实际的网站代码.
Also remember to check your DocumentRoot
directive to make sure it is pointing at the actual website code.
这篇关于Apache错误:无法加载mod_access_compat.so的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!