Thursday, April 16, 2026

πŸš€ WORDPRESS INSTALLATION WITH XAMPP (STEP-BY-STEP)

 

 1. What You’re Doing

You are creating a local server on your computer so you can run WordPress without internet.

πŸ‘‰ Tools involved:

  • XAMPP (Apache + MySQL)
  • WordPress files

πŸ“₯ 2. Install XAMPP


Steps:

  1. Download XAMPP from https://www.apachefriends.org
  2. Install it (Next → Next → Finish)
  3. Open XAMPP Control Panel
  4. Start:
    • ✅ Apache
    • ✅ MySQL

πŸ‘‰ If both turn green = you're good

πŸ“¦ 3. Download WordPress

4

Steps:

  1. Go to https://wordpress.org
  2. Download WordPress
  3. Extract the ZIP file

πŸ‘‰ Rename folder:

wordpress → mysite

πŸ“ 4. Move WordPress to XAMPP

Path:

C:\xampp\htdocs\

πŸ‘‰ Copy your folder:

C:\xampp\htdocs\mysite

πŸ—„️ 5. Create Database (VERY IMPORTANT πŸ”₯)


Steps:

  1. Open browser
  2. Go to:
http://localhost/phpmyadmin
  1. Click New
  2. Enter database name:
mysite_db
  1. Click Create

⚙️ 6. Run WordPress Installer


Open:

http://localhost/mysite

Fill Details:

  • Database Name: mysite_db
  • Username: root
  • Password: (leave empty)
  • Server: localhost

πŸ‘‰ Click Submit → Run Installation

πŸ‘€ 7. Create Admin Account

Fill:

  • Site Title
  • Username
  • Password
  • Email

πŸ‘‰ Click Install WordPress

πŸŽ‰ 8. Login to Dashboard

πŸ‘‰ Visit:

http://localhost/mysite/wp-admin

Now you can:

  • Create pages
  • Install themes
  • Build your site

πŸ§‘‍🏫 9. Teaching Tip (FOR YOUR STUDENTS)

Practical Class Flow:

πŸ”΅ Step 1:

Install XAMPP

🟒 Step 2:

Start Apache & MySQL

🟑 Step 3:

Create Database

πŸ”΄ Step 4:

Install WordPress

⚫ Step 5:

Login & Explore Dashboard

⚠️ Common Errors & Fixes

❌ Apache not starting

πŸ‘‰ Close Skype / change port 80

❌ MySQL not starting

πŸ‘‰ Kill existing MySQL in Task Manager

❌ Database connection error

πŸ‘‰ Check:

  • DB name
  • Username = root
  • Password = empty

πŸ”₯ BONUS (REAL LIFE USE)

You can use this to:

  • Build school portals
  • LMS platforms
  • Business websites

No comments:

Post a Comment

πŸ“š HOW TO REGISTER FOR AMAZON KDP (STEP-BY-STEP)

   1. What is KDP? KDP is Amazon’s platform that allows you to: Publish ebooks πŸ“± Publish paperbacks πŸ“– Earn royalties πŸ’° πŸ‘‰ No publisher n...