Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

User:Esmi/5-Minute Install

Famous 5-Minute Install

More detailed instructions follow.
Note: Steps 5 and 6 are optional as the install program will create a wp-config.php file for you.

  1. Download and unzip the WordPress package.
  2. Create a database for WordPress on your web server.
  3. Create a MySQL user with 'full privileges for accessing and modifying your new database.
  4. Make a note of:
    • Your new database name
    • Your new username
    • Your username's password
    • Your database host name. If you are unsure what this should be, contact your hosts for assistance.
  5. Rename the wp-config-sample.php file to wp-config.php.
  6. Open wp-config.php in a text editor and edit it as follows:
  7. Decide where you want to install WordPress on your domain.
    • If you want to integrate WordPress into the root of your domain (e.g. http://example.com/), you will be uploading all contents of the unzipped WordPress folder (but not the folder itself) into the root directory (folder) of your web server.
    • If you want to WordPress to be run in its own subdirectory on your web site (e.g. http://example.com/cars/), rename the wordpress folder in your computer to the name you'd like the subdirectory to have (e.g. cars). You will be uploading the entire folder to the root directory of your web server.
  8. Upload WordPress to your preferred location on your web server,
  9. Run the WordPress installation script by accessing wp-admin/install.php in a web browser.
    • If you installed WordPress in the root directory, you should visit: http://example.com/wp-admin/install.php
    • If you installed WordPress in its own subdirectory called cars, for example, you should visit: http://example.com/cars/wp-admin/install.php

That's it! WordPress should now be installed.