• About us
  • Advertising
  • Send Press Release
  • ICT Indicators
Tuesday, March 21, 2023
  • Login
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण
Shop
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
No Result
View All Result

A full Tutorial on Installation of WordPress on XAMPP

9 years ago
in Tutorials
Reading Time: 11 mins read
0 0
A A
0
user setting privileges second1

Setting user privileges

Share on FacebookShare on TwitterShare on LinkedInQR Code

Other similar Posts

Fix for “Sorry, another account from your organization is already signed in on this computer.”

Rolling Nexus – Professional Networking Site from Nepal [Review]

This tutorial titled “A full Tutorial on Installation of WordPress on XAMPP” is for those who would like to give a try at home by themselves. Setting up a local system with WordPress, will create good learning and developing environment for beginners.
In this tutorial, we cover

  1. Installation of XAMPP
  2. Creating Database
  3. WordPress Installation


To begin with this tutorial you’ll be needing following things to be downloaded to your machine.

  1. Download XAMPP from Apache Friends Website
  2. Download WordPress from WordPress.org

What is XAMPP?

Before installing XAMPP, you should know what actually XAMPP is. XAMPP stand 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 look at setting up XAMPP on Windows 8.
WordPress isn’t a stand-alone application and needs server software to run. XAMPP provides the necessary environment needed to run WordPress on a local machine.

Installation of XAMPP

Now that you have already downloaded XAMPP for Apache Friends Website, you can begin installing XAMPP on your PC.
Double click downloaded xampp-win32-?.?.?-installer.exe to launch the installer.

Starting XAMPP Installation
Starting XAMPP Installation
You may receive warnings about installing the software on your computer. As you would when installing any software on Windows, use your best judgment.
The XAMPP setup wizard will guide you through the installation
Going Through XAMPP setup wizard
Going Through XAMPP setup wizard
Choose the installation folder location, if default is C:/xampp, leave it as default, or you can also change it to other location
Choosing location for XAMPP installation
Choosing location for XAMPP installation
In the next window you’ll be asked to select the components of the software you would like to install and which one you don’t want. Since we want to run WordPress on this localhost, just leave Apache and MySQL checked and uncheck the remaining options.
Selecting Apache and MySQL component to be installed with XAMPP
Selecting Apache and MySQL component to be installed with XAMPP
After going through all those options, installation of XAMPP is completed. Click on Finish. If you are asked to run XAMPP – control panel, click Run or Yes.
XAMPP installation completed
XAMPP installation completed
If you receive any security/firewall warnings during the installation process (such as the one below), make sure you check “Private networks, such as my home or work network” and click “Allow access.” This is very important. If you don’t allow access, XAMPP won’t work.
Allow access to XAMPP from Firewall
Allow access to XAMPP from Firewall
If you selected to run XAMPP on Finish, the XAMPP – Control Panel will start automatically.
If not, go to the XAMPP folder on your computer and open “XAMPP Control Panel”.
XAMPP control panel
XAMPP control panel
Now that XAMPP Control panel has started, Startup both Apache and MySQL. If you have installed XAMPP properly, both components should run fine without any errors, however, if there are any other applications on your computer using the same ports as these modules then you need to quit the conflicting applications using the same ports and restart XAMPP.
Start Apache and MySQL on XAMPP control panel
Start Apache and MySQL on XAMPP control panel
You can check if your new local server is installed by visiting http://localhost in your browser.
Accessing Localhost after starting services
Accessing Localhost after starting services

Setting up MySQL Database

Now that you have installed and started XAMPP on your local PC, it’s time to setup MySQL database, for this you’ll have start MySQL and PHP services form XAMPP Control Panel.
After starting those services, switch to your web browser and navigate to, http://localhost/phpmyadmin

phpMyAdmin on localhost
phpMyAdmin on localhost
Click on “Databases” near the top-left and you’ll be prompted to create a new database. I’ve called mine “wordpress_db”, and collation as “utf8_unicode_ci”. When you’ve entered a name, click “Create” and close the window.
Creating MySQL database from phpMyAdmin
Creating MySQL database from phpMyAdmin
You’ll see database creation success message like this
Database created successfully
Database created successfully
Now, you’ll have to add a user to the database, for that click on the privileges section in the page. And on same page click on “Open new phpMyAdmin window”.
Changing privileges of databases on XAMPP
Changing privileges of databases on XAMPP
On the page as shown below, click on “Add a new user”.
Adding new user on database
Adding new user on database
Now, a form page will open up, fill the form with your instances. For this tutorial, I entered
Username: WordPress
Host: Localhost
For password, you can generate automatic password there or drag and drop to “Use Text Field” and enter your preference password. Both way, you’ll need to remember passwords.
After that, click on “Check All” for setting up privileges, and to finish click on “Go”.
Filling up credentials for new user on MySQL Database
Filling up credentials for new user on MySQL Database
On the next page, under “Database Specific Privilege” drag down the list and select “wordpress_db”.
Setting user privileges
Setting user privileges
Again on the next page, under “Database Specific Privilege” click on “Check All” to check all privileges. And click “Go”.
Finalizing user privileges
Finalizing user privileges
 

Installing WordPress on LocalServer

To this point you have set upped XAMPP and also created MySQL database with a user and global privileges. Now, it’s time to install WordPress on your Local Server.
For this you must have to download WordPress from WordPress.org.
In order to get WordPress working with XAMPP we need to unzip WordPress to the right folder. Go to the XAMPP folder on your computer and open the htdocs folder, i.e. C:/XAMPP/htdocs.

Unzip wordpress to htdocs folder on xampp
Unzip wordpress to htdocs folder on xampp
Unzip wordpress to htdocs
Unzip wordpress to htdocs
Open your WordPress folder, find the wp-config-sample.php file. Open the file and scroll down until 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 “wordpress_db.”
Replace “username_here” with “wordpress” and on “password_here” fill the password of wordpress user you created.
Save the file as “wp-config.php” and close it.
Changing wp-config file of wordpress
Changing wp-config file of wordpress
Now we can get on with installing WordPress.
Open your browser and go to http://localhost/wordpress/
You should see the welcome screen for the famous five minute WordPress installation process.
WordPress installation page
WordPress installation page
Enter your details and click “Install WordPress.”
Your WordPress installation is now complete, you can now access your local WordPress site by navigating to http://localhost/wordpress/.
If you are having some problem going through this tutorial, you can leave comment below.
 

ShareTweetShareScan
Previous Post

What to look for when buying a budget Router?

Next Post

How to setup WordPress Multisite

Also check out other Similar posts

Reduce background noise during Microsoft Teams or Zoom meetings
How To

How to reduce background noise during Microsoft Teams or Zoom meetings

May 20, 2021
Permanently Remove LeadBoxer from Outlook
How To

Remove add-in services from Outlook, LeadBoxer as an example

January 29, 2021
fix for “Sorry, another account from your organization is already signed in on this computer.”
Tutorials

Fix for “Sorry, another account from your organization is already signed in on this computer.”

November 12, 2020
watermark using php
How To

Create Watermark of image using PHP

November 3, 2020
speed test with python
How To

Test Internet Speed using Python

October 28, 2020
Wirelessly casting projecting Windows to Smart TV
Tutorials

How to wirelessly project or cast Windows 10 computers to the Smart TVs

March 8, 2020
Next Post
WordPress MultiSites

How to setup WordPress Multisite

No Result
View All Result

Recent Posts

  • Apply now for the $25,000 UNESCO Prize for Your Education Technology Solution
  • Daraz announces the biggest sale of the year – Up to 80% off, mega vouchers up to 11,111 & more
  • 6 things you can do to speed up your Windows 11 computer
  • Vivo Launches V23 5G Smartphone with 50MP AF Portrait Selfie Camera and Elegant Color-Changing Exterior
  • Fix for slow or not responding Brave browser in Windows 11 #BraveBrowser #Windows11
  • Speed up your Windows 11 computer by reducing startup time, here is how to
  • What is band steering and why you should use it #WiFi #Networking
  • Messages for Android and Web saves you tonnes of time and features!
  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021

Recent Comments

  • onlinenepali on Top Websites in Nepal
  • Hikmat Bahadur Sunuwar on Micromax Service Center & Authorized Dealers in Nepal
  • Lorine on Top Websites in Nepal
  • shailendra on Top Websites in Nepal
  • Gloria Brooks on Daraz announces the biggest sale of the year – Up to 80% off, mega vouchers up to 11,111 & more

Listen to TechSansar Podcast

Categories

RoboForm: Learn more...

Recent Posts

  • Apply now for the $25,000 UNESCO Prize for Your Education Technology Solution January 3, 2023
  • Daraz announces the biggest sale of the year – Up to 80% off, mega vouchers up to 11,111 & more November 12, 2022
  • 6 things you can do to speed up your Windows 11 computer April 14, 2022
  • Vivo Launches V23 5G Smartphone with 50MP AF Portrait Selfie Camera and Elegant Color-Changing Exterior April 11, 2022
  • Fix for slow or not responding Brave browser in Windows 11 #BraveBrowser #Windows11 January 5, 2022
  • Speed up your Windows 11 computer by reducing startup time, here is how to December 23, 2021
  • What is band steering and why you should use it #WiFi #Networking November 25, 2021
  • Messages for Android and Web saves you tonnes of time and features! July 7, 2021
  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp July 5, 2021
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021 July 1, 2021

Latest Questions

  • Wifi doesn’t turn back automatically Windows 10 asked by Chandani, 2 years ago
  • Your feed file is too big – Facebook Instant Articles asked by , 2 years ago
  • What is businessfocus.info ads? asked by , 2 years ago
  • MSDOS Boot creation problem. asked by , 3 years ago
  • Why does Google Site Kit keeps disconnecting? asked by Editor, 3 years ago
  • Best eBanking in Nepal asked by Editor, 4 years ago
  • Traditional Nepali Font asked by Malvika Shrestha, 4 years ago
  • Cloud servers VPS in Nepal asked by Sunita, 4 years ago
  • Cloud servers VPS in Nepal asked by Sunita, 4 years ago
  • Cloud servers VPS in Nepal asked by Sunita, 4 years ago

Categories

  • ADSL
  • Apple
  • Applications
  • Broadband
  • Broadcasting
  • Cell Phones
  • Cloud Computing
  • Computing
  • Default
  • Featured
  • Gadgets
  • Google
  • How To
  • India Inc
  • Internetworking
  • Microsoft
  • Nepali IT
  • New Release
  • Products
  • SMS & related
  • Social Networking
  • Software
  • Startups
  • Support
  • Tech Fun
  • Tech News
  • Technology
  • Technology in Effect
  • Telecom
  • Tips & Tricks
  • Tutorials
  • Uncategorized
  • Videos
  • Websites
  • Windows
  • Windows-7
  • टिप्सहरु
  • नेपाली टेक संसार
  • QnA Platform
  • Gadgets
  • Tech News
  • Tips & Tricks
  • About us
  • ICT in Nepal
  • Market

TechSansar.com, ICT For Media Pvt Ltd, Regd #249079/077/078, VAT #609868175. 
By continuing to use this site, you agree to our cookies and privacy policies.
Here is our Do Not Track (DNT) Guide. Hosted on a VPS in Singapore and uses this beautiful WordPress theme. You can also subscribe to our newsletter.
Creating tech contents for the b̶o̶t̶s̶ humans since 2009 • Team TechSansar • ICT4M with ❤ from Nepal

No Result
View All Result
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण

TechSansar.com, ICT For Media Pvt Ltd, Regd #249079/077/078, VAT #609868175. 
By continuing to use this site, you agree to our cookies and privacy policies.
Here is our Do Not Track (DNT) Guide. Hosted on a VPS in Singapore and uses this beautiful WordPress theme. You can also subscribe to our newsletter.
Creating tech contents for the b̶o̶t̶s̶ humans since 2009 • Team TechSansar • ICT4M with ❤ from Nepal

Welcome Back!

Sign In with Facebook
Sign In with Google
OR

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

We are running on limited supplies. Kindly, chat with us before sending payments. Dismiss