我用sudo apachectl start启动apache,然后用浏览器访问127.0.0.1,提示无法连接,有可能是什么原因?下面是我查看的进程
Rex-TsaomatoiMac:usr rextsao$ ps aux | grep httpd
rextsao 12562 0.0 0.0 2444052 768 s000 S+ 5:42PM 0:00.00 grep http
求各位帮助
我用sudo apachectl start启动apache,然后用浏览器访问127.0.0.1,提示无法连接,有可能是什么原因?下面是我查看的进程
Rex-TsaomatoiMac:usr rextsao$ ps aux | grep httpd
rextsao 12562 0.0 0.0 2444052 768 s000 S+ 5:42PM 0:00.00 grep http
求各位帮助
3 回答3.9k 阅读✓ 已解决
2 回答1.5k 阅读✓ 已解决
2 回答1.3k 阅读✓ 已解决
1 回答1.3k 阅读
1.1k 阅读
809 阅读
1 回答601 阅读
谢谢大家,我把这个问题解决了,google到一个有用的命令
apachectl configtest
,我是在这个命令的帮助下,一步步排错从而解决问题的,这个命令应该是mac环境下的。