安装 httpd-2.2.22-win32-x86-openssl-0.9.8t.msi成功,但不能启动,安装过程中的错误信息如图

解决办法
修改 conf/httpd.conf文件
把 下边两行
Listen 80
#ServerName localhost:80
改成
Listen localhost:80
ServerName localhost:80
PS:也可以改成127.0.0.1:80
本文解决了一个安装了HTTPD-2.2.22-win32-x86-openssl-0.9.8t后无法启动的问题。通过修改conf/httpd.conf文件中的Listen和ServerName配置项,将监听地址从'localhost'更改为'127.0.0.1',成功解决了问题。
安装 httpd-2.2.22-win32-x86-openssl-0.9.8t.msi成功,但不能启动,安装过程中的错误信息如图

解决办法
修改 conf/httpd.conf文件
把 下边两行
Listen 80
#ServerName localhost:80
改成
Listen localhost:80
ServerName localhost:80
PS:也可以改成127.0.0.1:80
212
1712
4393
4万+
3万+
3万+

被折叠的 条评论
为什么被折叠?