How to solve the failure of apache service startup after Win8 system upgrade?

  

Recently, many users are reporting that they have found some strange problems after upgrading the Win8 system, suggesting that the Apache service failed to start. What is going on? In fact, this may be caused by the port being occupied by other services and causing conflicts. How can we solve this problem? The following small series for everyone to introduce the Win8 system upgrade apache service startup failure solution.

Apache is the world's number one web server software. It runs on almost all widely used computer platforms and is the most popular web server-side software because of its widespread use across platforms and security. When developing a PHP or Java server program, programmers will choose to use the Apache server as a background server. The reason why the service disappeared after Win8 was upgraded to 8.1 was because the registry was not updated after the upgrade.

Solution:

1. First, open the browser, enter localhost and press Enter. If the page shown below appears, continue. If a response occurs, it's very likely that your other servers are still open, such as IIS, which needs to be shut down first. Because these servers will take up port 80 of the computer. Win8.1 shutdown IIS may have a bug, the specific steps are not described here, if you encounter this problem, please Baidu search.

2, then find the installation directory of the Apache server, usually appears in the \\ Apache Software Foundation \\ Apache2.2, open the directory in which bin. The bin directory is the directory of the executable. As shown below.

3, found in the bin directory httpd.exe command, as shown in FIG. Start cmd, the command line, run as administrator, cd to the bin directory.

4, using the following command to execute the installation cmd and services: httpd.exe -k install -n Apache2.2 wherein Apache2.2 name of the service is to be installed.

5, the installation is complete, use the command net start Apache2.2 just to start the installation service. If you are not used to using commands, you can open the list of services and start the service manually. As shown

These are the small series to introduce Win8 system upgrade Apache service failed to start solution, if you have encountered the same problem but do not know how to solve user, you can follow the above The steps to proceed.

Copyright © Windows knowledge All Rights Reserved