One of the most popular
What do you need?
You need to download
Choose the XAMPP download which suits your architecture (32 bit or 64 bit). Once you download XAMPP, install it with default settings. After installation, you can find XAMPP at C:\\Xampp
How to install WordPress locally on your computer
WordPress installing on localhost is very easy. You have to follow some easy steps. You can not install WordPress directly on your computer. You have to create an environment then install WordPress to your computer.
Step 1. Download XAMPP Server
By clicking download you can redirect to downloading page. Download the latest version
Can also download different version of XAMPP. By Clicking Download Menu
Step 2. Install & Run the XAMPP on Your PC
After downloading the software, you need to unzip it. When the file is ready, just select the Install button or click on it twice. Soon you will discover that the installation process has
- After clicking
next button ,you will see some checkboxes these arealready marked. You only need MySQL and phpMyAdmin, so unmark all the others.
you would see a welcome notice. That means your installation process is working perfectly & ready to use. intallition,
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
If you have any antivirus software installed
Now, let’s see if everything works smoothly. Congratulations! You have completed the XAMPP installation process!
Both services are running fine. Excellent!
You can check if your new local server is installed by visiting http://localhost in your browser.
Step 3. Setting Up Your MySQL Database
Before we install WordPress, we need a database.
In your XAMPP Control Panel, click the Admin button in the MySQL section.
A new browser window will automatically open with the phpMyAdmin interface.
Click on Databases near the top-left, and you’ll be prompted to create a new database. I’ve called mine “WP.”
When you’ve entered a name, click Create and close the window.
Step 4. Download WordPress Latest Version
Now is the time to create a database and start installing WordPress on localhost. To do that, you need to download the latest version of WordPress.
- Go to the WordPress official website, click on Get WordPress button from the top right side. You will be redirected to a new page.
- Now hit on Download WordPress button.
The download process might take a few moments to begin. You will get a zip file. Unzip the file and copy that for your next uses.
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.
Step 5. Install WordPress on Localhost
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.
Click Install WordPress this button.
Your WordPress installation is now complete! Log In your chosen password.
Check out the Site
This is the time to check out your local site. How would it look like or how would it work? Give a check.
- This is your backend dashboard or admin panel, from where you would control everything.