我用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
求各位帮助
1 回答789 阅读
1 回答1.2k 阅读
2 回答842 阅读
2 回答644 阅读
894 阅读
1 回答573 阅读
1 回答496 阅读
谢谢大家,我把这个问题解决了,google到一个有用的命令
apachectl configtest
,我是在这个命令的帮助下,一步步排错从而解决问题的,这个命令应该是mac环境下的。