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 show your project files on your projects section or you can go to your projects directly in the web browser as http://127.0.0.1/project1/
- Now Unzip the WordPress file that you have downloaded and paste into the directory that is C:\wamp\www\project1\wordpress
- Go to localhost in your browser in the projects area open your project it shows something like this.
(Index of /project1
Parent Directory
WordPress/ )
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 a sample (see above).
Installing WordPress on localhost using WAMP server
- 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 the 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 a local PC. Now you can start building your WordPress site.

Post a Comment