Solution for Apache service startup failure after Win8 system upgrade

  

Users who use Win8 systems know that they often receive patch upgrades for system upgrades. Under normal circumstances, Win8 system users will upgrade, but some users have encountered some inexplicable problems after upgrading, including Apache service. The startup failed, or the Apache service disappeared. What is going on?

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 the win8 upgrade to 8.1 is because the registry has not been updated after the upgrade.

Software Name:
WampServer (Apache Server Suite) 32-bit 2.5 Multi-language Official Free Edition
Software Size:
24.3MB
updated:
2014-05-05


software name:
Apache v2.2.22 for windows relatively easy to use web server
software size:
6.1MB
updated:
2012-02-01


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, generally appear in \\Apache Software Foundation\\Apache2.2, open the bin directory. The bin directory is the directory of the executable. As shown below.

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

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

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

The above content is a solution for everyone to bring down the Apache service startup failure after the Win8 system upgrade, to remind everyone that the default is to use the command line to install The service attributes are automatic. If you don't want these services to start automatically, you will need to modify them in the properties of the service list. Hope can help everyone!

Copyright © Windows knowledge All Rights Reserved