apache服务,WEB端口在 1024以下的用 root 用户重启;1024的,使用指定用户重启即可!
重启命令
apachectl restart
如果 apache安装在 /usr/local/apache
那么命令就是
root#/usr/local/apache/bin/apachectl restart
或者
web$/usr/local/apache/bin/apachectl restart
还可以先进入 apache安装目录
cd /usr/local/apache ./apachectl restart