"No services installed" | apache service startup

Source: Internet
Author: User

After Apache is installed (not installed according to the default path, my path is D: \) which of the following small feather icons is not started? It is difficult to keep the left button, the system prompts "no services installed", indicating that the server is not installed.

Solution: Find the bin directory under the apache2.2 directory that contains an apache.exe file. In the running directory, type "cmd" to open the DOS window,

Type:D :\Note: Go to disk D because my Apache is installed on disk D.

Type:CD apache2.2Note: Go to the D: \ apache2 \ directory

Type:CD BinNote: Go to the D: \ apache2.2 \ bin \ directory.

Type:Httpd.exe-K install-N apache2.2Note: The apache service has been added. Next we will start it.

Type:Net start apache2.2Note: To enable the apache2 service and disable the server: net stop apache2.2

OK, problem solving

 

Note!The following statements can be used to delete an apache service:

SC Delete apache2.2


 TIPS:

Save the following statement as a. BAT file and put it on the desktop. When you double-click it, it will "restart apache service:

Net stop apache2. 2
Net start apache2. 2

 

 

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.