Here are the simplified steps on how to install WordPress on a local computer:
  1. Install a local server (Mac: MAMPPC: XAMPP or WAMP).
  2. Create a new database.
  3. Download WordPress from wordpress.org and extract the files to a new folder under the htdocs folder.
  4. Rename the wp-config-sample.php file to wp-config.phpand update the database details according to your local server.
  5. Run wp-admin/install.php and follow the instructions to install WordPress.
  6. Done!

Let's Begin...

Before you start, let's look at the requirements to run WordPress:
  • PHP 4.3+
  • MySQL 4+ Database Server

1. Install a Local Server


In order to run any PHP/database application on a local computer, you need a local host (ie. Apache + MySQL). For Mac, use MAMP. For PC, use XAMPP or WAMP.



I'm using Mac here, so I'm going to install MAMP. Go to mamp.info, download and install MAMP.

2. Create a New Database

After you've installed MAMP, run it and it should take you to the start page. Now click on phpMyAdmin. In the phpMyAdmin page, create a new database (eg. wordpress).

3. Download WordPress

Go to wordpress.org and download the latest build of WordPress. Go to the htdocs folder (where you installed the MAMP), extract the wordpress.zip to a new folder (eg. mysite).

4. Update wp-config.php File

In the folder, rename the wp-config-sample.php to wp-config.php. Open wp-config.php and update the database details (db_name, user, password, host) according to your local server.

5. Run install.php

With your browser, go to http://localhost:8888/mysite/wp-admin/install.php and follow the instructions to install WordPress.

Post a Comment

  1. The wordpress that I installed is different from all the PHP open sources frameworks.
    Ref - Hire WordPress Developers

    ReplyDelete

 
Top