If you would like to build your own website, you can do it on your own computer without putting it online. This can be useful for a number of reasons:
- You don’t have your own web hosting to test with
- You want to test a website before you put it online
- You want to start a website that helps you organize your life, for example, but you don’t always have access to the internet
In this guide, you’ll learn how to set up Apache, MySQL, and PHP on your computer. This will be the base for your website and will create an environment for you to develop in.
This guide is part of the Turning Your Computer into a Local Web Server series. Learn more from the main page.
Installing WAMP on Your Windows Machine
To install WAMP (Windows Apache, MySQL, and PHP) in Windows, do the following:
- Download WAMP here
- Double click on the installer
- Assuming you haven’t installed WAMP before, click Yes
- Click Next
- Accept the agreement and click Next
- I recommend installing in c:\wamp. Click Next
- Choose your shortcut icon preferences and click Next
- Click Install
- WAMP will now install
- If prompted, click Open to choose Windows Explorer and your default browser
- Leave the default settings unless you have a need to change them and click Next
- Click Finish and launch WAMP Server
- WAMP will launch. Wait for the WAMP icon to turn white in the notification area
- Going to localhost in your browser will bring up the following admin area menu
Now you’ve learned how to install Apache, MySQL, and PHP on your Windows machine, you may now install WordPress or Drupal in ten minutes or less.