1、Apache启动失败,请检查相关配置。√MySQL4.0已启动。

来源:百度知道 编辑:UC知道 时间:2024/05/25 02:23:20
The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 42 of D:/\xe8\x87\xaa\xe5\xb7\xb1\xe7\x9a\x84\xe7\xa7\x81\xe6\x9c\x8d/APMServ5.2.0/Apache/conf/httpd.conf: ServerRoot must be a valid directory

请检查你的apache配置文件httpd.conf(在apache的安装目录下的conf文件夹下),并查找ServerRoot项,确定后面配置的路径是apache安装路径
例如你把apache安装在c:/program files/apache那么配置就是
ServerRoot "c:/program files/apache"