May 142014
 

Install WordPress Locally Using Xampp tutorial will show you how to set up Xampp locally in a laptop or desktop and install WordPress and more.

Last Updated: February 19, 2018

Latest News: I have updated a link.

For those who are developers and love WordPress know how important it is to test any site you build to make sure it is working correctly. In this tutorial you will learn how to set up Xampp and install WordPress. You will also learn how to test a live website locally by importing the database into Xampp.

The security part of Xampp no longer applies because it was removed by Xampp developers. They said that Xampp is already secured enough to run locally.

This tutorial was written using Windows operating system. It also has been tested using the following versions Windows 7, 8.1, 10. 

Xampp released control Panel v3.2.2. (This control panel was released in November 12, 2015)

Note: Remember that your local Xampp installation might be running a different version of Apache, PHP and MySQL. Keep this in mind if you intend to upload the locally developed site into your live server.

Note: For security reasons if you are still running Windows 7 make sure you have service pack 1 installed. Microsoft will stop supporting Windows 7 January 14, 2020. You can read more about it from the following URL Windows end of life cycle.

Install WordPress Locally Using Xampp

What you need:

  1. Xampp
  2. WordPress

Xampp Tutorials:

  1. Install Xampp Locally For WordPress
  2. Create MySQL Database Locally Using Xampp
  3. Install WordPress Locally Page Two
  4. Install WordPress Locally Security Setup
  5. Test Your WordPress Site Locally(Optional)
  6. Import Database (Optional)
  7. Edit WP Config File (Optional)

If you have any question please let me know. I will be updating these tutorials from time to time so make sure you come back for the latest.

I hope these tutorials help you.

Enjoy.

WordPress Setup Tutorial List:

Manuel Ballesta Ruiz is a web developer, Blogger and WordPress Enthusiast.

  9 Responses to “Install WordPress Locally Using Xampp”

  1. Also need to add post_max_size=128M to php ini file

    • Hello John, thank you for your comment. Yes I see your point in adding post_max_size=128m, if you read at the beginning you will notice that I have also added that option. I will have to make it more clear.

      Kind regards

  2. Nice tutorial. Complete information on wp installation.

  3. it is the one of the way 2 create the database but there are several ways 2 create the database in xampp server

    • Hello Kalaivanan, thank you for your comment. Yes you are correct there are several ways to create a database. In Xampp this is the best method to create a database. This method is the same method implemented when creating a new database using phpMyAdmin in cpanel on a live server.

      Kind regards

  4. Hi,
    I think in the past you also mentionned changing the maximum execution time ($cfg[‘ExecTimeLimit’] = 900 or more instead of default 300 sec) in xampp/phpMyAdmin/libraries/Config.default. I do not see this recommendation any more. But it is very useful when importing large databases so that there is no interruption of the import process.

  5. Hi

    I am not sure. One year ago I followed your excellent tutorial and did all recommended changes in “PHP.ini”. In addition at that time I also modified exec_time in “Phpmy admin” more specifically in the file “config.default”.because I had problems importing databases without interruption .
    So I think it is different from step 5. I thought this recommendation came from your tutorial but maybe not? In any case for me this was very useful and allowed me to import moderately large databases using phpmyadmin without errors.

    Anyway, thanks for your tutorials and the AIOWPS support.

    Kind regards

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

The following GDPR rules must be read and accepted:
This form collects your name, email and content so that we can keep track of the comments placed on the website. For more info check our privacy policy where you will get more info on where, how and why we store your data.