当前位置:Gxlcms > PHP教程 > apache运行出错帮忙看看,下面是错误代码

apache运行出错帮忙看看,下面是错误代码

时间:2021-07-01 10:21:17 帮助过:28人阅读

G:\Apache2.2\bin>httpd -k start
Warning: DocumentRoot [G:/Apache2.2/docs/dummy-host.a.com] does not exist
Warning: DocumentRoot [G:/Apache2.2/docs/dummy-host2.a.com] does not exist
httpd: Could not reliably determine the server's fully qualified domain name, us
ing 192.168.1.103 for ServerName
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : make_sock: c
ould not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs


回复讨论(解决方案)

您的 80 端口已经被使用了

您的 80 端口已经被使用了

我看过了 就是apache占用的啊

对呀,已经启动了一个 apache 你再 httpd 能不报错吗?

对呀,已经启动了一个 apache 你再 httpd 能不报错吗?

我停掉了apache,还是会报这个啊

does not exist 不存在
就是说你设置的两个 DocumentRoot 都不存在

卸载干净系统里的所有APACHE 服务,然后新装一个到新的目录去 如果不需要自动启动功能就去掉自动启动的功能。

人气教程排行