apache2.4.x基本操作

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/ITzhongzi/article/details/86547653
命令 描述 翻译
httpd.exe To Start Apache in the command prompt type 启动 apache服务器
httpd -k restart Restart Apache 重启apache服务
httpd -k stop Stop Apache 停止apache服务器
httpd -k install To do so you install Apache as a service by typing at the command prompt 把apache做成一个服务(一般都会做成服务,不用每次都要手动启动)
httpd -k start start Apache 启动apache服务
httpd -k uninstall Uninstall Apache Service 删除 apache服务
httpd -t Test Config Syntax 测试配置是否正确
httpd -h Command Line Options List 帮助命令列表

apache默认访问地址:
http://localhost

猜你喜欢

转载自blog.csdn.net/ITzhongzi/article/details/86547653