1. First prepare the resources and download the http://httpd.apache.org/download.cgi on the website.
Select the latest version to download:
Click 2.4.33, jump after select file for Microsoft Windows, jump after select Apachehaus
Then jump to the page after selecting the version that matches your own system, I choose here
2. After the download is complete, unzip the file to the folder you want to install as: D:wamp\apache
3. Open the d:wamp\apache\conf\httpd.conf file in Notepad, locate the Define srvroot, and set the Define srvroot "D:wamp/apache".
Eg: note here that the delimiter must be used/not used \, or it may be an error: Errors reported here must is corrected before the service can be started.
4. Use the administrator to run the cmd window, httpd-k install-n Apache to install Apache service, and make the service name Apache
Eg: if there is a 3 inside the error, it will come back to check the httpd.conf set in the Define Srvroot, is not correct, correct after the new run
Eg: if the ah00369:failed to open Windows service Manager appears, perhaps you forgot to log in as adminstrator? This is because you do not have permissions, use Administrator mode I to run the cmd window
5. Open D:wamp\apache\bin\apachemonitor.exe to open the Apache console. Click Start to see if the start is successful, if successful, then enter http://localhost in the browser, the normal page display will appear
If error:
First, open the Run window and enter regedit
Select Hkey_local_machine\system\currentcontrolset\services\http in the Open window and find start on the right
The default value is generally 3, change him to 0, and then restart the computer, found that it can normally start, OK, complete
6. The administrator runs the cmd window to httpd-k start|stop|restart-n Apache.
PS: Do not know how to run cmd with the administrator, there is a simple way, is directly in the Start menu right-click, direct selection is good,
Web environment Construction--Apache