WordPress is an open source Content Management System (CMS), which allows the users to build dynamic websites and blog. WordPress is the most popular blogging system on the web and allows updating, customizing and managing the website from its back-end CMS and components.
WordPress installation in Local Server using 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 Windows.
Local Server:- Xampp (ver 5.6.28)
WordPress Ver: – (2.8 or above)
installing XAMPP Server on Localhost:
To install XAMPP on localhost, download it first from the Apache Friends website. There are separate download links for Windows, Linux and OS X. There is no 64-bit version for Windows. But the 32-bit version works perfectly for the 64- bit too. Click the downloaded file. Depending on your operating system, you might need to allow the software to be installed. While you should be cautious about installing unknown applications, you can safely install XAMPP. Allowing it to install will take you to the setup wizard. Click ‘Next’
The next window lets you customize which components you want to install. Options like Apache and PHP are required. Therefore, you can’t deselect them. But you can uncheck the other options. For installing WordPress, the necessary components are Apache, MySQL, PHP, and phpMyAdmin. Once you have selected these, click ‘Next’.
In the next page, you will be asked to select the folder where you want to install XAMPP. Click the folder icon to open the file browser and to select a custom folder. After making the choice, click ‘Next’.
While installing XAMPP, if your computer provides a security notice like the following, uncheck the ‘Public networks …’ box and check the ‘Private networks…’ box and click ‘Allow access’. This will create a rule for XAMPP in your security system.
In the final installation window, you will find a checkbox to start the XAMPP control panel. Leave it checked and click ‘Finish’.
At this point, the control panel will be started. You can also open the control panel from your programs list or from the directory where you installed it. The control panel will look like this-
In the XAMPP control panel, you will find different components listed – Apache, MySQL, FileZilla, Mercury, Tomcat etc. All of them have separate start/stop, Admin, Config and Logs buttons. Fire up Apache and MySQL by clicking the respective Start buttons. If they have started successfully, you will notice a light green background behind the component names.
If both Apache and MySQL are running successfully, you have successfully installed XAMPP server in your computer. To test your local server, open your favourite browser and enter the following URL – http://localhost/
The page should look like the following –
Here is the end of Tutorial 1 in the next tutorial we will learn how can we create a Database in local server, because before installing WordPress you have to define the database so stay tuned with us for the next post.
If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Twitter or Facebook. Thank you!