Friday, July 30, 2010

Installing WAMP

INSTALLATION GUIDE FOR SETTING UP THE WAMP

Hey there, this is prasanna here , coming up with the first tutorial of my life :) so thought of making it a big and god! I hit a jackpot with this

development environment for most we applications.. hope u enjoy and hope IT WORKS! (lol :D)

So before we actually start , the following are the software packages u need to have… the links are provided incase u don’t posses one..

Pre-requisites:

Windows – 98/2000/ME/XP – u can download it or buy a copy..

Apache web Server apache 2.2.15 - http://httpd.apache.org/download.cgi

MySql - mysql-essential-5.1.49 - http://www.filehippo.com/download_mysql/

Php – php-5.3.3 - http://windows.php.net/download/ select the thread safe version (VC9 x86 Thread Safe ) zip version



Installing Apache…

Step - 1: Download the apache setup from the site mentioned above..

Step – 2 : Run the installer ( double clicking the msi file u just downloaded)














Step-3: Click next..











Step – 4: choose the “I accept ..” radio button and click next..

Step – 5 : Terms and conditions window will appear, after reading it click next..















Step -6: Enter "localhost" (without the quotes) for the Network Domain as well as for the Server Name and whatever email address you wish for the "Administrator's Email Address" field. The installer uses the information you enter to create a default Apache configuration file for you. You can always go back and manually change these values in your configuration file if you change your mind later. Leave the default setting of "for All Users, on Port 80, as a Service" as it is. Click "Next" when you're done.

Step-7 : choose the typical setting for installation, the installer will install with the default settings that are needed.. in case u want an indepth installation u can go for custom option and select ur own settings. Click next..















Step-8: choose the installation directory as per ur requirement, I personally recommend you to choose the default directory to avoid future problems.. , click next

















Step-9: Finally click the "Install" button to allow the installer to set up Apache. When it is done, click the "Finish" button click the finish

















Step -10: Upon successful installation you can see the apache service manager in the tray.. u can start , stop and restart the service from here …






You can test the installation by just going to your browser and typing http://localhost/ to get the following page..









Congrats! that completes our installation of the apache, so far so good, now if u want you can take a break before we move on to configuring the apache for your folder, this is optional and you could simply put your file in the default apache directory called htdocs. But if you want apache to load your mainpage upon typing http://localhost then you need to point the documentRoot to your directory..

Configuring for your website:

Step 1: open C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf in your notepad

Step-2: s earch for DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" “ and change the path to your folder..

Eg: DocumentRoot "D:\My_website”

Step-3: now just move one page below you can see”

C:/Program Files/Apache Software Foundation/Apache2.2/htdocs

“ change this also to D:\My_website”


Thus you have completed Apache Installation Successfully………

MySql And PHP Coming soon..

1 comment:

  1. Nice , expecting more such useful thing from u in near future.Continue the good work ...

    ReplyDelete