How to configure WAMP

WAMP stand for Windows Apache MySql PHP.

WAMP is used for WIndows machine, in making own PC as a server knows as “localhost”.

What is the use of  http://locahost  ?

It quit obivious that localhost works same as our website server do. So to do some change in the main server, we first experiment whole thing at our localhost and of the result are right( what we desired) than we simply follow the same steps in  the main serve. or FTP  the content of localhost contetn to the main server content.

Here we will discuss and understand HOW TO Configure WAMP ?

1. Download WAMP(2.0i)  Latest version :  Download

2. Install the WAMP to your PC, Just follow the simple steps.

3. Use the firefox as a default browser( installation will ask at the end). I love firefox.

Now start the WAMP.( Default id will start )

Otherwise. Go to START- All Programs- Wamp Server -Start wamp server

Now your wamp server has been started. ( Check )

4. Go to the Firefox address barhttp://localhost/ ( You will see the below page)

wamp
http://locahost

5. Its means that WAMP is acitve ( running )

Now we are going to change the password of user “root” Default there is no password, but it is very important to give the password.

6. Go to http://localhost/phpmyadmin/

phpmyadmin

Click on privileges and go to :-

privileges

7. Click on the edit privileges.

After click the edit privileges, you will get a new page , which contains the types of privileges( Like Global privileges, Darabase specific, change password etc )

Follow the below image :

pasword

Now when you refresh the page, you would see the error, Don’t panic – you are going well .

Error

MySQL said: Documentation

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

8. Now it is the prefinal step, go and configure the phpmyadmin “config.inc.php”

It is located in the C:\wamp\apps\phpmyadmin3.2.0.1\config.inc.php

Open the file config.inc.php in wordpad and search the string :-

“$cfg['Servers'][$i]['password'] = ” “;

Just enter you password, between the double quotes.

Password must be same.( Same you provided in the image )

You are done, save the file. and go to the http://localhost/phpmyadmin/
Refresh the page, you will not get any more error.

You are done.

I think you may have enjoyed this little simple tutorial, if you find and difficulty than you are welcome to put your query in the comment.

Thanks you all reader

Some Reated Post

Vikash Dhankar
Is a Computer Science Engineer and owner of Openhippo Web. I love the codes and open-source technology. Enjoy blogging and read a lot about latest gadgets.


Connect with Me - - - - -

12 Responses to “How to configure WAMP”

  1. Kavita Dalal says:

    I am a Ubuntu user, and i want to run a test of wordpress blog on my localhost, how can i do that.i tried many things but can’t find the real solid solution.
    help me out

    [Reply]

  2. Harmit says:

    is it necessary to install the wamp in the c:\ directory, it comes default.
    Is there any difference if i install it in different location.

    [Reply]

  3. @harmit, I suggest you to install the wamp in different directory from your Windows OS drive. because if any OS failure, you may loose all your important works.
    And there is no difference in the working, its same.
    Vikash Dhankar´s last blog ..How to configure WAMP My ComLuv Profile

    [Reply]

  4. [...] Install WAMP server to your PC( WIndows) or LAMP to your LINUX system. ( Learn how to configure WAMP [...]

  5. ciprian says:

    thank you so much for this post. I was searching for a solution to access the mysql database and everybody out there gives soooo advanced advises like if I was a mysql guru I would still have this problem!
    So thanks for this one! It really really helped!

    [Reply]

  6. Rinki says:

    I could install wamp only after reasding your guide. Now my problem is, I have developed index.php and registration.php and also the database with table and put it in wamp. but when I submit data through my registration page, I get- “Forbidden You can not access xxx.com/< in this server."
    Where I have gone wrong? I must inform, I am absolute beginner in PHP/MYSQL.

    Thanks for your expertise.

    Rinki

    [Reply]

  7. arti says:

    hi, im getting 404 page not found error while running url http://localhost/phpmyadmin/
    http://localhost/ is running fine.
    plz do reply.

    [Reply]

    Vikash Dhankar Reply:

    which version wamp you are running.. If it is of version 2, you check your directoyr c:\wamp\apps\phpmyadmin is there or not
    Vikash Dhankar´s last blog ..Dangerous Virus in 2009 : Virus Book 2009 My ComLuv Profile

    [Reply]

    arti Reply:

    Thx Vikash.. i checked for the phpadmin folder for the said path. it exists there but still im unable to access phpadmin url.. any help will be appreciated..
    thx a lot.

    [Reply]

  8. :) says:

    thanks dude :D

    [Reply]

  9. [...] you are a Windows user than, you can easily install and configure wamp or xampp server packages, But if you are using Ubuntu 10.04 or any linux based OS, than you have to [...]

  10. dream says:

    I have phpMyadmin Error:Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

    how do i can fix it, thanks you.

    [Reply]

Leave a Reply

CommentLuv Enabled
Free WordPress Themes

Mobile Version ·About Us · Earn Money · Sitemap ·Archives · Privacy Policy

© 2010 Open Hippo (Share Your Knowledge). All Rights Reserved. Reproduction without explicit permission is prohibited.
Free WordPress Theme
freshlife WordPress Themes Theme Junkie