This article is part of series of articles on Apache. Here is the list:
- Introduction to Apache Web Server.
- Difference between Apache http and Apache Tomcat.
- How to Install and Run Apache Web Server on Ubuntu Linux.
- How to Install and Run Apache Web Server on Windows 10.(this one)
So, crack those knuckles and follow along.
Apache is a software, so we have to download it, visit the site
Click on the latest stable release
You want the binaries, click on it.
Now go to ‘win32’ and click on it.
Scroll down to see ‘ApacheHaus’ , open it.
You should have something like this.
Scroll down to see the version of Apache in two variations 32 bit and 64 bit (x64) (blue boxes).
Click on download on whichever one you want (red circles).
Open up the downloaded file, then open up the folder with Apache24 on it.
Copy all the files and folder in it.
Make a new folder in any drive and paste the files in a folder named ‘Apache24’.
Just make sure the address is not much complicated.
Open System Properties, by right clicking on ‘This PC’, then properties.
Open Advanced System Settings.
Click on Environment Variables…
Double Click on ‘Path’
Now click on ‘Browse’
Find the folder you created and select
bin from it and click ok.
After you’ve done that it should look like this.
Now click ok, and the windows will keep closing.
This has to be done because the Web Server’s daemon runs as a Service on windows.
Press win+R, or open Run.
Find the ‘Apache’ service, right click on it and press start.
Open Command Prompt as Admin, and write
httpd –k install
When the window pops “Allow Access”
Open up any browser and write “localhost”, the window below should appear.
You are done!!
You can test all the above on our Windows VPS with a 20% lifetime discount. Use the coupon code WIN20OFF at checkout.