如果是linux自己带的apache的话就使用命令 
service httpd start 启动 
service httpd stop 关闭 
service httpd restart 重新启动 

如果是你后来源码编译的话 这要根据你看装的目录来看的

一般默认的情况下 在/usr/local/apache2/bin/apachectl restart

查看apache是否起来 可以在你的浏览器里面输入 http://localhost 
或者 在shell里面输入 ps ax|grep apache

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2021-10-18
  • 2021-12-11
  • 2021-11-28
  • 2021-12-11
  • 2022-02-19
猜你喜欢
  • 2021-08-12
  • 2022-02-15
  • 2022-02-04
  • 2022-12-23
  • 2021-09-10
  • 2022-12-23
  • 2021-07-23
相关资源
相似解决方案