Testing Wordpress Locally: Installing Wordpress

This entry was posted on
  • Tutorial
  • Wordpress

The Series

  1. Installing a Web Server (Apache)

  2. Installing PHP

  3. Installing MySQL

  4. Installing phpMyAdmin

  5. Installing Wordpress

Setting up MySQL database

  • Login to phpMyAdmin.

  • Click on the Databases tab.

    • Create a new Database.

    • Set the name for your database.

    • Set the Collation to: utf8_unicode_ci.

Configuring php for Wordpress

  • Open php.ini (in the System Directory) for editing.

  • Remove the semicolon from the line ;extension=php_mysql.dll.

    • If the line does not exist, add the line.
  • Restart the server

Installing Wordpress on Windows

  • Go to the wordpress Website and download the zip file.

  • Extract the wordpress directory to the webserver Document Root.

  • Open the wordpress directory.

  • Copy the wp-config-sample.php to wp-config.php.

  • Open wp-config.php for editing and update the following settings.

    _ define(‘DB_NAME’, ‘database_name_here’);.

    • define(‘DB_USER’, ‘username_here’);.

    • define(‘DB_PASSWORD’, ‘password_here’);.

  • In the browser, navigate to http://localhost:8080/wordpress.

  • Fill in the details and click on Install wordpress.

Testing Wordpress