Thursday, March 21, 2013

Installing WampServer for PHP and MySQL based Webapp development

WampServer is a 'Windows web development environment', as written on its official website. If you're here by searching the web, I'm sure you already know about WampServer and its uses, and are ready to install it. In case you don't know, in short: WampServer is an environemnt for Windows based machines(where Operating System is any Windows) which is used for setting up Apache server, MySQL database, and PHP on the machine in easy quick steps. WAMP stands for Windows Apache MySQL PHP. As PHP can not be tested locally on a system (as it is a server-side language), for testing and development purposes, we need to setup our own local server which can handle PHP locally. Hence, WampServer does the job of setting up everything with one setup! Great job WampServer team! Oh and yes, WampServer also comes bundled with phpMyAdmin, which is a really useful thing for maintaining the mySQL databases.

Enough talks! Lets get started with installing WampServer 2.2 now.

Haven't you downloaded WampServer yet? Well, go ahead and do it now!

Here starts the Step-by-Step illustration: (I'm doing it on my Windows XP SP3 machine)

1. Get started with the exe file!

2. Accept the terms and bla bla, and head to next step of selecting location of wamp folder.

You can select any drive here, but I prefer to install it on other drives than the system drive (C://) because if your system gets corrupted in future, due to some virus or stuff, your hard work of PHP won't need to be formatted. Although there are many workarounds in that scenario to save, but prevention is better than cure I guess. :)

This is very much it, and you're done!!

The files that you want to open through the server should be in the 'www' folder of the 'wamp' folder. (Ohh, it rhymes!)

Open your favourite web browser, and type "localhost" in the address bar. If you can see a page like the image above this para, your installation is successful. Also, a link to phpMyAdmin is there, which as I said earlier is a great tool for interacting graphically with your database.


No comments:

Post a Comment

Any Thoughts?