假设你的apahce安装目录为/usr/local/apache2/usr/local/apache2/bin/apachectl restart这样的。。 果apache安装成为linux的服务的话,可以用以下命令操作: service httpd restart 重新启动