macos - MaxOS El Capitan local Apache2.4 has stopped serving. Why can localhost still access It Works?
某草草
某草草 2017-05-16 17:00:36
0
1
579

The story started like this. The original intention was to start an apache locally on mac, and then insert some html docs into www to test and use it.

But in MaxOS X10.11 El Capitan, it was found under the built-in Apache2.4 that
no matter how to use the apache command, localhost still does not change, can it still work if the service is stopped?

And even if the path is changed in httpd.conf

Then restart, start, stop, restart... localhost still has no change,

The default html that comes with it is still in /Library/WebServer/Documents

Ask the environment god for help.

某草草
某草草

reply all(1)
阿神

$ sudo lsof -iTCP -sTCP:LISTEN -n

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!