小编Nat*_*ord的帖子

apachectl 在两个位置造成困难

我正在 mac OS-X (10.8.3) 上设置开发环境。

我的apachectl似乎是指/opt/usr/sbin/apachectl

$ sudo apachectl start
$ ps aux | grep httpd | grep -v grep
_www             898   0.0  0.0  2436168    704   ??  S    11:46AM   0:00.00 /usr/sbin/httpd -D FOREGROUND
root             897   0.0  0.1  2436168   4308   ??  Ss   11:46AM   0:00.18 /usr/sbin/httpd -D FOREGROUND
Run Code Online (Sandbox Code Playgroud)

但是,apachectlin/opt/local/apache2/bin/apachectl似乎正在为我的本地机器驱动(正确配置的)网络服务器。

$ sudo /opt/local/apache2/bin/apachectl start
$ ps aux | grep httpd | grep -v grep
_www             916   0.0  0.0  2455992    688   ??  S    11:47AM   0:00.00 /opt/local/apache2/bin/httpd …
Run Code Online (Sandbox Code Playgroud)

mac apache-http-server macos

1
推荐指数
1
解决办法
4531
查看次数

标签 统计

apache-http-server ×1

mac ×1

macos ×1