mxh1099

 

一、启动Apache

  1. 在终端里输入命令,启动 Apache: sudo apachectl start

    关闭 Apache: sudo apachectl stop

    重启 Apache:sudo apachectl restart

    查看 Apache 版本:httpd -v

    Mac OS X 10.9.X 中的 Apache 版本信息:

    Server version: Apache/2.4.16 (Unix)

    Server built:   Jul 22 2015 21:03:09

  2. 启用 Apache 之后,在浏览器中访问 http://localhost 或 http://127.0.0.1,如果出现“It works!”就表示运行正常。

分类:

技术点:

相关文章:

  • 2022-01-16
  • 2021-12-06
  • 2021-12-06
  • 2022-02-04
  • 2022-02-07
  • 2022-02-04
猜你喜欢
  • 2021-12-06
  • 2021-12-06
  • 2021-11-26
  • 2021-11-20
  • 2021-12-03
  • 2021-12-06
相关资源
相似解决方案