How To Install Your WordPress Blog In Wamp Server

On February 10th, 2010 Posted by Tanmay

install-wamp-server-wordpress-locallyAt first when I started blogging then it was quite laborious to develop my theme. Because every time when changed the design codes I had to upload it to my web server and see the result. It was quite time consuming process as my internet connection was not so fast. Then I started to develop my theme installing WordPress in Wamp Server. This helped me a lot to design my theme. Also read: 3 Important tips to chose a blog name.

Wamp Server also becomes useful local server for those blogger who pay for their bandwidth in a paid web server. They can check all their testing perpose in Wampserver and then  apply in the web server. This saves a huge amount of bandwidth.

Tip: Build custom archive page or sitemap for your WordPress blog.

What you have to download first?

  1. At first download Wamp server from the official website.
  2. Download the latest version of WordPress from the official website.

How to install Wordpress in  wamp server configure it

Install wamp server  in your PC.It is recommended that you should install wamp server in your root drive.

Configure Wamp server:

After wamp server installation double click on the desktop icon.Then the wamp server icon will be shown in the System tray.

configure-wamp-server-1

Now click on the icon in the System tray and then click on “Start All Services”

configure-wamp-server-2Now your wamp server is active.

WordPress Installation Process:

Creating Database:

Click on the icon in the system tray and then “phpMyAdmin”.A window will be opened in your default browser.See at the address bar-there should be ‘”http://localhost/phpmyadmin”.Give any name of the database in the box labeled “Create database” and click the create button.Now your database has been created successfully.

configure-wamp-server-4

configure-wamp-server-5

Here I have created the data base named “sample” for an example.

Configure your database:

Now you have to upload the database in SQLiteManager which you have just created.Here it is “sample”

Click on SQLiteManager from the system tray icon.A page will be opened in your browser.

configure-wamp-server-6 configure-wamp-server-7

In the browser page put the name of database(sample here).Now hit the “Browse button and select the database after navigating the location.The path is such as “C:\wamp\bin\mysql\mysql5.0.51b\data\sample\db.opt”.Now check the “Upload Database” box and then “save”.After this process you should see the name of your database in the left side like this:

configure-wamp-server-8

Now you are ready to install wordpress in your Local Server.

Installation of Wordpress:

At first create a folder in C:\wamp\www \ and give any name of the folder as you like. For example I’m using the name “sample”.It is not necessary to be the same name with the database name.You can give any name.

Now extract the downloaded zip file of Wordpress and copy the content of the extracted folder and then paste them in C:\wamp\www\sample\.

configure-wamp-server-9

Now find the PHP file named wp-config-sample in the same folder(C:\wamp\www\sample) and open it with notepad or any normal text editor.Find the portion shown below:

configure-wamp-server-11

  • In the line 1 shown in the above picture replace putyourdbnamehere with the database name(here sample).
  • In the line 2 replace usernamehere with root.
  • In line 3  delete the phrase yourpasswordhere and leave it blank.

After editing the file that should be like this.

configure-wamp-server-12

After having done save the file and rename it as wp-config .

  • Now type “http://localhost/sample/wp-admin/install.php” in your browser address bar and press enter.Fill-up the Blog Title and Your E-mail fields and click “Install WordPress”

configure-wamp-server-13

  • Now your WordPress will be installed.And the following message box will appear.

configure-wamp-server-14

  • Now note the user name and password then press login.After logging in  you can change the the username and password easy to remember.

Now you Wordpress installation on wamp server is complete.If you are facing any problem then please contact me.I’m always ready to help you.

  1. No comments yet.
  1. No trackbacks yet.