打开cmd窗口,输入
“D:\Apache\Apache24\bin\httpd.exe” -k install -n apache
如果出现以下错误
则可以用管理员身份打开cmd再次运行
再次运行
Errors reported here must be corrected before the service can be started.意思是,此处报告的错误必须在服务开始前进行纠正。出现如截图所示,表示安装正常
打开cmd窗口,输入
“D:\Apache\Apache24\bin\httpd.exe” -k install -n apache
如果出现以下错误
则可以用管理员身份打开cmd再次运行
再次运行
Errors reported here must be corrected before the service can be started.意思是,此处报告的错误必须在服务开始前进行纠正。出现如截图所示,表示安装正常