JUMP TO CONTENT

We are in the process of phasing out this standard hosting service. Please consider migrating to our new cloud hosting.

Laughing Squid Web Hosting

 Laughing Squid Web Hosting

Home » Frequently Asked Questions (FAQ) » WordPress » WordPress Installation Tutorial

WordPress Installation Tutorial

If you are planning on installing WordPress on your website, please read through the WordPress Installation instructions, as well as these instructions that are specific to our server setup:

  1. Create a database for your WordPress install.

    First, log into the control panel for your website. Next, select your site. Then, click on "Databases"

    You should see something like this:

    No Databases

    Click on "Add New Database". That should bring you to a screen where you will type the name of your new database, like this:

    Add New Database

    Click on OK. You will see two icons and a section for database users. If you have just created your database, this will be empty, like this:

    Database Created

    Click "Add New Database User" to be brought to a screen where you’ll add a user and password for your database, like this:

    Add Database User

    Take note of the values you have entered. In our case, they are:

    DB Name: some_db
    DB User: db_user
    DB Password: vf3wng9t (this is only an example, please use your own unique password)

  2. Download the latest version of WordPress. Unzip the package you downloaded.
  3. Open up wp-config-sample.php and fill in your database details. Save and rename the file to wp-config.php.

    When you unzip, you will have a folder named "wordpress". Within this folder, you will find a file named "wp-config-sample.php", which you should open with a text editor of your choice (Text Edit, Notepad etc.). You will see something like this

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'username'); // Your MySQL username
    define('DB_PASSWORD', 'password'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    This is where we’ll put those database values from step 1. When you’re done, it should look like this (with your own values of course):

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'some_db'); // The name of the database
    define('DB_USER', 'db_user'); // Your MySQL username
    define('DB_PASSWORD', 'vf3wng9t'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

  4. Upload all the WordPress files to your website.

    Take the entire contents of the wordpress folder (including your newly created wp-config.php) and upload it somewhere inside your httpdocs. Take note of where you put it, you’ll need that in a minute.

    More information on how to do this can be found either here.

    Just make sure you upload all the files that have a .php extension as Text or ASCII and not Binary as this could cause issues.

  5. Run the installation file. Relative to where you uploaded the files, it will be in wp-admin/install.php.

    Using a web browser of your choice (we like Firefox but you can use something else if you’d prefer), go to wherever you put WordPress on your website and add the magic words "wp-admin/install.php". Just take the bit after httpdocs from the previous step. For example, if your website is http://yoursite.com and you put your WordPress files inside /blog, then go to http://yoursite.com/blog/wp-admin/install.php

That’s it! At the end of the installation it will give you a login and a random password. The password is random, so be sure to write it down or at least copy and paste it. Once you’re logged in you can change the password.