How You can Intall WordPress in Xampp

The goal of this guide is to show web designers how to install WordPress (2.8 or above) locally on their computers for the purpose of designing and testing WordPress themes. WordPress requires that the computer you are installing to has a webserver (such as Apache, LiteSpeed, or IIS), PHP 4.3 or greater, and MySQL 4.0 or greater.
XAMPP is an easy-to-install web server environment, which has all the previously mentioned components. All of the following instructions are based on the assumption that you have a XAMPP installation running locally on your machine.
Note: The demonstration shown here uses Linux.

Steps
  1. Image titled Screenshot from 2016 01 17 19 53 12.png
    1

    Download and save the latest version of WordPress from the following link:http://wordpress.org/latest.zip.
  2. Image titled Screenshot from 2016 01 17 19 56 28.png
    2

    Extract the contents of the ZIP file called “wordpress.zip”, which was downloaded in step 1, to the htdocs folder within the ‘/opt/lampp/hdoc directory. If ZIP file extracted properly there should be a new directory called “wordpress” within the \opt\lampp\htdocs directory.
  3. Image titled Screenshot from 2016 01 20 11 40 32.png
    3

    In your terminal, type the following to grant write privileges to the wp-config.php file. You’ll need this for later.

    • chmod a+rw /opt/lampp/htdocs/wordpress -R
  4. 4

    Run XAMPP and make sure all three servers are up and running.
  5. Image titled Screenshot from 2016 01 17 19 57 54.png
    5

    Go to the XAMPP main page by opening a web browser and entering the following URL: http://localhost/dashboard/.
  6. Image titled Screenshot from 2016 01 17 20 00 29.png
    6

    Select the link called “phpMyAdmin” on the upper right hand side of your screen on the menu, or by entering the following URL: http://localhost/phpmyadmin
  7. Image titled Screenshot from 2016 01 20 11 36 40.png
    7

    In the field labeled “Create new database” enter the name “wordpress” then click Enter.
  8. 8

    In your browser, navigate to ‘localhost/wordpress’. You will see a message that tells you a configuration file must be made. Click Create configuration file and on the following page, click Let’s Go!.
  9. Image titled Screenshot from 2016 01 20 11 42 09.png
    9

    Enter wordpress for your Database Name, root as your User Name, and leave ‘Password’ blank. Click Submit.
  10. Image titled Screenshot from 2016 01 20 11 46 21.png
    10

    Click Run the install.
  11. Image titled Screenshot from 2016 01 20 11 45 39.png
    11

    Enter a title for your blog, your email address and chose a unique password and username. After you’re done, click Install WordPress.
  12. 12

    Voila! You have successfully installed WordPress on XAMPP on your Linux machine! See that wasn’t so hard was it? Pat yourself on the back you’ve accomplished something many people find quite difficult (probably cause they haven’t read this post).
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s