How to install wordpress on your localhost?

If you want to install wordpress into your local host you need wampserver or any other server like Mac OS:MAMP,XAMPP I am preferred to say for wampserver click here to download wampserver free.

What is this Wamp server?

According to MakeUseOf, WAMP stands for Windows Apache, MySQL and PHP.  

          A great majority of websites are run by a trio of services – Apache,MySQL and PHP. Apache is the web server, which handles browser requests and sends the information across the internet to your browser. PHP is the programming language that many sites are written in – this creates dynamic content which in turn is sent to Apache, which sends the data to your browser. And finally, MySQL is the database which stores the information for programs. PHP is used to access this database.

How to set up a Wamp server on local host?

Step 1:

Run the wamp file installer, using the default options provided.

Step 2:

Double click the wamp icon wamp-icon1on your desktop on your taskbar.

Step 3:

On your taskbar, near the time in the bottom right corner of your desktop, left click on the semicirclewamp-5 button and Click “Put online”.

How to set up WordPress on your Wamp server?

Step 1:

Click here to Download woredpress free.Then extract the files.
Step 2:
Left click on the semicirclewamp-5 on your taskbar.
Open up the www directorywamp-1,
Drag the WordPress folder into the www directory.
1. Open PHPmyadmin from your wamp menuwamp-2

 2. Create a new Database (’wordpress‘ or ‘blog‘ are good). Leave Collation. Click Create.wamp-3

3. Click the Home icon in the upper left to return to the main page, then click Privileges. If a user relating to WordPress does not already exist in the list of users, create one:Click Add a new User.

  1. Chose a username for WordPress (’admin’ is good) and enter it in the User name field. (Be sure Use text field: is selected from the dropdown.)
  2. For Host, select Local and type in localhost
  3. Choose a difficult-to-guess password and enter it in the Password field. (Be sure Use text field: is selected from the dropdown.) Re-enter the password in the Re-type field.
  4. Write down the username and password you chose.
  5. Leave all options under Global privileges at their defaults.
  6. Click Go.

4. Return to the Privileges screen and click the Check privileges icon on the user you’ve just created for WordPress. In the Database-specific privileges section, select the database you’ve just created for WordPress under the Add privileges to the following database dropdown. The page will refresh with privileges for that database. Click Check All to select all privileges, and click Go.

5. On the resulting page, make note of the host name listed after Server: at the top of the page. (This will usually be localhost.)

6. Returning to where you extracted the WordPress package, rename the file wp-config-sample.php to wp-config.php.

7. Open the renamed wp-config.php file in your favorite Notepad text editor, Here’s a screenshot of how the wp-config.php is set up.

8.Fill in the following information and save the file.

DB_NAME
The name of the database you created for WordPress. (ex. WordPress)
DB_USER
The username you created for WordPress (ex. admin)
DB_PASSWORD
The password you chose for the WordPress username.
DB_HOST
The hostname you determined  (
usually localhost)

9.Run the install script by copying and pasting this URL into your browser http://localhost/wordpress/wp-admin/install.php then follow the instructions.
 
Share it and like it:

You may also like...

3 Responses

  1. Rohit says:

    Thank you very much for this post, it help me to setup wordpress locally for development purposes.

  1. December 15, 2014

    this is really a nice post.

    I saw this really great post today.

  2. October 23, 2015

    Finding this site…

    Wow, this post is pleasant and very informative.

Leave a Reply

Your email address will not be published. Required fields are marked *