Wednesday, 16 October 2013

Install Wordpress 3.1.6 on XAMPP

So This time we would be trying to Install a Local copy of Wordpress (say Wordpress 3.1.6) onto our Local Machine....Ideally into a XAMPP box. To Start with , its time you get a copy of XAMPP from here and the latest distribution of Wordpress from here - .

Installing XAMPP : 

Installing XAMPP is a pretty Simple Task and you can get the Steps involved right here : . Once you are done with the Installation , Start it up as shown below :

Installing Wordpress 3.1.6 :
  1. Unzip the Wordpress distribution under C:\xampp\htdocs. Ideally the '\htdocs' folder which should be under the XAMPP installation directory. In my case , it's the C: drive.
  2. Now Visit the XAMPP Local Home Page : http://localhost/xampp/
  3. Click on 'phpmyadmin' which should towards the bottom of the Left Hand Side Bar as shown.

  4. Goto Database Tab and Create a new Database named 'Wordpress' with Drop Down type as 'Collation'. You might choose the Database name as you please.

  5. This should Install a new Database for your Use.

  6. Goto the C:\xampp\htdocs\wordpress\wp-config-sample.php. 
  7. Rename the file to C:\xampp\htdocs\wordpress\wp-config.php
  8. Open the file in any Text Editor.

  9. Edit the information as shown below. The Database for Wordpress should be the name of the database you created in Step 5. The Username should ideally be 'root'.

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'Wordpress');
    /** MySQL database username */
    define('DB_USER', 'root');
    /** MySQL database password */
    define('DB_PASSWORD', '');
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

  10. Almost Done. Now visit- http://localhost/wordpress/wp-admin/install.php . I assume that your XAMPP is still running.
  11. Now Configure Your Wordpress Admin Information and Website Details for the final Installation. Remember the Username / Password you set , for logging in to your Wordpress Admin Dashboard henceforth. Hit the 'Install Wordpress'.

  12. Bookmark the link : http://localhost/wordpress/wp-admin/ . That's the Dashboard to your Wordpress Website you just created. Enjoy !!

Creative Commons Licence
The Great Indian Curry by Soham Roy is licensed under a Creative Commons Attribution 3.0 Unported License.
Based on a work at
Kolkata , India