WAMP — localhost on your PC

Apr 10, 2011 by

If you’re into server-side scripting with something like PHP, uploading to your web host to run a script just to look for the smallest error may be a hassle. WAMP turns your PC into a local server so that everything you can do on your web server can be done on a local scale. Rather than editing, saving and uploading you just edit and save right in your WAMP server’s “www” directory like any other folder or file on your PC.

First off, you will need to download the installer from here.

  1. After the download is complete, open the setup program.
  2. Click next and agree to the terms of service.
  3. Choose the directory for your server to be installed (I recommend the default) and select options for Deskop and Start Menu icons.
  4. If you chose to add a desktop icon, double-click it and allow the program.
  5. You will then see a small icon appear in the taskbar.
  6. Click the icon and select “Put Online.”
  7. Open your preferred browser and navigate to http://localhost
  8. At the Wampserver homepage, you can view installed extensions and access PHPMyAdmin and phpinfo().
  9. If you scroll down, you will also see debug tools like WebGrind and a Projects section. Since you just installed WAMP, this will be empty.
  10. You might be wondering what exactly a project is. A project is simply a directory where web pages are held. It is like a website on your localhost.
  11. To create a new Project, navigate to C:\wamp\www\ and create a new folder for your site. For example, C:\wamp\www\mysite

After WAMP has been correctly installed, only your hard disk space limits you to the databases you can manage, the scripts you can run and the websites you can locally test. I find myself using WAMP very frequently and I hope you will too.

Related Posts

Tags

Share This