Testing WordPress Locally: Installing WordPress 2


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

  • In the browser, navigate to http://localhost:8080/wordpress/wp-admin
  • Enter your details and login
  • You should see the wordpress dashboard

Leave a comment

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

2 thoughts on “Testing WordPress Locally: Installing WordPress