常用的
httpd.exe -k [install(安装)、uninstall(卸载)、start(启动)、stop(停止)、restart(重启)]
说明:要执行命令,需进入到apache安装目录/bin/
如果想在任何一个目录都执行httpd.exe指令,需配置环境变量
windows
首先
找到apache/bin
重新启动cmd.
常用的
httpd.exe -k [install(安装)、uninstall(卸载)、start(启动)、stop(停止)、restart(重启)]
说明:要执行命令,需进入到apache安装目录/bin/
如果想在任何一个目录都执行httpd.exe指令,需配置环境变量
windows
首先
找到apache/bin
重新启动cmd.