Apache -- Failed to open the Apache2.2 Service solution appears when the command line is started, failedapache2.2

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.