报错如下:

errors reported here must be corrected before service can be started.httpd:Syntax error on line 60 of D:/apache2/conf/httpd.conf:Cannot load D:/apache2/modules/mod_actions.so into server:\xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xa3\xbf\xe9\xa1\xa3

原因:

我也遇到了这个问题,确实是由于配置ServerRoot不当导致的,仔细看了一下conf文件里面有一个说明ServerRoot: The top of the directory tree under which the server's等等,应该是Apache文件夹只能放在磁盘根目录下,不能放在文件夹中,不然会造成非目录错误或楼主的问题。

相关文章:

  • 2021-06-25
  • 2021-11-28
  • 2021-09-28
  • 2021-08-13
  • 2019-06-12
  • 2022-01-26
  • 2022-02-04
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2021-07-02
  • 2021-11-29
  • 2021-11-09
  • 2021-07-29
  • 2021-12-15
  • 2022-12-23
相关资源
相似解决方案