
Mac OS X 10.12.6 系统默认是安装了 Apache 的,要启动 Apache 服务需要手动通过命令行开启。
(推荐学习:apache从入门到精通)
具体步骤:
启动Apache
sudo apachectl start
停止Apache
sudo apachectl stop
启动后可以通过 http://127.0.0.1 访问了。
另外,配置文件路径为/etc/apache2/httpd.conf,站点的根目录为/Library/WebServer/Documents/。

Mac OS X 10.12.6 系统默认是安装了 Apache 的,要启动 Apache 服务需要手动通过命令行开启。
(推荐学习:apache从入门到精通)
具体步骤:
启动Apache
sudo apachectl start
停止Apache
sudo apachectl stop
启动后可以通过 http://127.0.0.1 访问了。
另外,配置文件路径为/etc/apache2/httpd.conf,站点的根目录为/Library/WebServer/Documents/。

2023-03-08
0万阅读

2023-03-05
0万阅读

2023-03-05
0万阅读

2023-03-01
0万阅读

2023-02-16
5万阅读

2023-02-11
7万阅读

2023-02-10
7万阅读

2023-02-09
7万阅读

2023-01-19
5万阅读

2023-01-16
4万阅读

2023-03-08
0万阅读

2023-03-05
0万阅读

2023-03-05
0万阅读

2023-03-01
0万阅读

2023-02-16
5万阅读

2023-02-11
7万阅读

2023-02-10
7万阅读

2023-02-09
7万阅读

2023-01-19
5万阅读

2023-01-16
4万阅读