How to install wordpress on localhost using wamp
Here I am going to show you how to install wordpress on localhost using wamp, before that first you need to set up a local server. Here i have explained how to run your computer as a local server.
- Download wordpress from this link http://wordpress.org/download/
- Set up a directory for your projects, for that you have to go to C:\wamp\www which is a default one i have installed wamp. Now create a new folder here C:\wamp\www, i have named it as project 1.
- Now go to browser http://localhost or http://127.0.0.1/ it will shows your project files on your projects section or you can go to your projects directly in web browser as http://127.0.0.1/project1/
- Now Unzip the wordpress file that you have downloaded and paste in to the directory that is C:\wamp\www\project1\wordpress
- Go to localhost in your browser in the projects area open your project it shows some thing like this.
(Index of /project1
click wordpress. Now it shows error you need to create a configuration file, before creating a cofig.php you need to know the following things.
- Database name
- Database username
- Database password
- Database host
- The next step is creating a database. Open phpmyadmin in your aliases, enter username root leave the password field as blank and click go. Now open database at the top and create a database, i have created as sample (see above).
- After creating your database, go to http://127.0.0.1/project1/wordpress/ click create a configuration file, at the next screen click let’s go.
- Now enter the database name that you have created, MySQL username as root, leave the password blank, database host as localhost, table prefix as wp_ and click submit and run the install in next screen.
Now you have to fill in your information for your wordpress project. Site title, username and password for login and install wordpress. The next screen says Success.
Now login with your username and pass that will take to your wordpress back end panel. You’re done successfully installed your wordpress in local PC. Now you can start building your wordpress site.