Always feeling tired to edit your WordPress site on the dashboard? Today you can learn here How to Install WordPress on XAMPP localhost. XAMPP Allows you to build, test and Run WordPress site on your localhost, After installing WordPress on your localhost, you can easily manage and update your WordPress site.
Installing XAMPP and WordPress together will create the best environment for you but it is a bit complicated if you don’t know How to setup WordPress on xampp.
STEP 1: DOWNLOAD AND INSTALL XAMPP
First of all, you need to download and install the XAMPP software. You can download XAMPP from their official site easily. Download your appropriate XAMPP software which is best for your operating system.
After downloading XAMPP file, execute installer and run the installation process.
- Read Here: Yoast is Better or All In One SEO
You will get User Account Control (UAC) Click on yes and set up further installation by just tapping on Yes.
Then, Select modules to install, is an important module among all. If you are not going to use other modules then uncheck it
Select folder to install XAMPP, by default it is C:\XAMPP. I recommend you to keep it as it is and go for further installation.
After Above process, you can see an option Install Bitnami for XAMPP, for now, uncheck this option and move further.
Click on Next and wait until Installation finishes. After Successful installation, you can access XAMPP Control Panel.
- Read here: What is WooCommerce? How to use it
STEP 2: START THE MODULES AND TEST SERVER
To test your localhost, you need to run two important modules which are
You can run above modules from the XAMPP control panel.
You can see in XAMPP Manager if those modules were started successfully or not. It Throws an error with the problem if it fails to load or run.
Once your Server modules started without any error, you can check server at http://localhost/ in your standard web browser.
Now XAMPP installed and tested successfully on your PC. If you face any issue while installation, comment below.
STEP 3: SETUP WORDPRESS FILES
Installation of WordPress is quite simple if you ever created a project in XAMPP.
Download latest version of WordPress from Official site.
Then move in XAMPP installation Directory, in windows it is C:\XAMPP (If you selected default folder while installation). And open subfolder htdocs.
In htdocs, create a new folder for your WordPress site. you can access this site by using this name in your browser. For example, if you make the folder Akash you’ll open your website by http://localhost/Akash
After creating a folder in htdocs, Extract WordPress.zip file which you have downloaded from WordPress.
STEP 4: SETUP WORDPRESS DATABASE
Now, you need to create a MySQL database for your WordPress. To create database you need to open PHPMyAdmin from XAMPP control panel
Open PHPMyAdmin > Click on Database > Select Database > Create Table
When you install WordPress on a live web server, you install XAMPP and WordPress, you don’t need to bother about creating a new database user.
STEP 5: RUN THE WORDPRESS INSTALLER
Visit your site from web browser where you extracted the wordpress.zip file.
In my case it is http://localhost/Akash
Select Language and go further, now you started the WordPress installation.
Configure WordPress database by filling details like below,
- Database Name = Name of the database
- Username = “root”
- Password = keep this blank
And Finally, Finish the WordPress installation. Now you can Access WordPress website from your localhost.
Comment if you face any issue and share and help others too.