找回密码
 注册
查看: 3182|回复: 1

apache无法重启,提示以下错误

[复制链接]
发表于 2016-5-1 01:14:46 | 显示全部楼层 |阅读模式

没改过任何东西,自己突然这样。
/etc/init.d/httpd restart
restart apache... AH00526: Syntax error on line 217 of /usr/local/apache/conf/httpd.conf:
DocumentRoot must be a directory
failed
美国VPS推荐: 遨游主机、Linode、LOCVPS、主机云、搬瓦工、80VPS、Vultr等美国VPS主机。中国VPS推荐: 阿里云、腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-5-1 08:54:24 | 显示全部楼层


提示文件里的提示行里的DocumentRoot 参数必须是个目录
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2026-11-27 03:29 , Processed in 0.006546 second(s), 18 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表