How to Install XAMPP and WordPress.
This blog is all about installing xampp and WordPress.
– What is XAMPP?
XAMPP stands for cross-platform, Apache, MySQL, PHP and Perl. It’s a simple and lightweight solution that allows you to create a local web server for testing purposes.
Since XAMPP is cross-platform, it also works on Mac and Linux, but today we’re going to focus on how to set up XAMPP on Windows 10. Also, check out our blog for the installation of Lamp server in Ubuntu.
Go to the Apache Friends website and download XAMPP.
The XAMPP file is 109MB. Once downloaded, launch the installer.
During the install process, you may receive warnings such as Windows asking you if you’re sure you want to install the software and the installer prompting you about antivirus software. As you would when installing any software on Windows, use your best judgment, but you probably want to click “Yes” to continue with the install.
The XAMPP setup wizard will guide you through the installation. Click Next.
In the next window, you will be asked to select which components of the software you would like to install and which ones you don’t want. Some options, such as Apache and PHP are essential to running the software and will at automatically installed, so they are grayed out so you can’t select them.
It’s up to you which components you want to install. Since we want to run WordPress in our localhost environment, leave MySQL and phpMyAdmin checked and uncheck the remaining options.
Next, select the folder where you would like to install XAMPP on your machine. I’m going to create a new folder in C:\Program Files\XAMPP.
In the next window, you’ll be asked whether you would like to install Bitnami for XAMPP, which offers free tools for installing WordPress, Drupal, and Joomla! on top of XAMPP.
Since we’re going to install WordPress manually later in this tutorial and don’t need free installers, untick “Learn more about Bitnami for XAMPP” and click Next.
After going through all those initial installation steps, XAMPP is now finally ready to install. Click Next.
Once installed, you’ll be asked whether you would like to start the XAMPP Control Panel, which provides an interface for running your localhost environment. Leave this option ticked and click Finish.
The Control Panel will automatically open, but if you unchecked the option in the previous window, you can go to the XAMPP folder on your computer and open XAMPP Control Panel instead.
If the installation process went well and everything is running smoothly, the control panel will open with black and blue text updates at the bottom.
Both services are running fine. Excellent!
You can check if your new local server is installed by visiting http://localhost in your browser.
Now, process of downloading WordPress.
-What is WordPress?
WordPress isn’t a stand-alone application and requires server software in order to run. XAMPP provides the necessary environment needed to run WordPress on a local machine.
WordPress is a free and open-source content management system based on PHP and MySQL. To function, WordPress has to be installed on a web server, which would either be part of an Internet hosting service or a network host in its own right.
If you are having trouble installing a WordPress, you have come to a right place. This article will cover the steps needed to install WordPress.
Download and Install WordPress
Download the latest version of WordPress.
In order to get WordPress working with XAMPP, we need to unzip WordPress in the right folder. Go to the XAMPP folder on your computer and open the htdocs folder – C:/Program Files/XAMPP/htdocs.
Unzip WordPress into its own folder and rename it whatever you like. For consistency, I’m going to call this installation of WordPress “WP” to match the name of the database I just created.
Open the WP folder where you saved WordPress, find the wp-config-sample.php file and rename it wp-config.php. Open the file and scroll down until you see the following lines:
These lines of code define the login details for your database:
- Replace“database_name_here” with the name of your database, which in my case is “WP”
- Replace “username_here” with “root” and leave “password_here” blank
- Save the file and close it
Now we can get on with actually installing WordPress.
Open your browser and go to http://localhost/wp/
You should see the translation screen that comes before the famous five minute WordPress installation process.
Once you’ve chosen your language, continue onto the next screen and enter your username and password details. Click Install WordPress.
Your WordPress installation is now complete! And don’t forget to check out our top 10 premium WordPress theme.