Apache -- Failed to open the Apache2.2 Service solution appears when the command line is started, failedapache2.2
Reprinted please indicate the source: http://blog.csdn.net/l1028386804/article/details/48110517
Run the following command to start [close | restart] on the Apache command line: httpd-k start [stop | restart].
Failed to open the Apache2.2 Service appears. This is actually a permission issue, which can be solved through the following methods:
Open "run", find "cmd", right-click "cmd.exe", and select "Run as administrator ".
D: \ Program Files \ Apache Software Foundation \ Apache2.2 \ bin> httpd-k install
Below is its output log
Installing the Apache2.2 serviceThe Apache2.2 service is successfully installed. Testing httpd. conf... Errors reported here must be corrected before the service can be started.
Then, start apache in the service.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.