"I am Saqib Jahangir. A passionate vlogger, software engineer, trainer and avid traveler with a deep love for exploring the hidden gems of our beautiful planet. With a strong foundation in Application Development, Application Architecture & Database Design and Product Management, I bring over a decade of hands-on experience building secure, scalable, and resilient web applications for a diverse range of industries."

Start apache web server with WAMP or XAMP

 

1️ Using WAMP

  1. Install WAMP
    • Download from https://www.wampserver.com and install it.
  2. Start WAMP
    • Launch WAMP from your Start menu or desktop shortcut.
    • A green WAMP icon in the system tray indicates all services are running.
      • Red: No services running
      • Orange: Some services running
      • Green: All services running
  3. Start Apache manually (if needed)
    • Left-click the WAMP tray icon → Apache → Service → Start/Restart Service
  4. Access localhost
    • Open your browser and go to:

http://localhost/

    • You should see the WAMP homepage.

2️ Using XAMPP

  1. Install XAMPP
    • Download from https://www.apachefriends.org and install it.
  2. Start XAMPP Control Panel
    • Launch the XAMPP Control Panel.
  3. Start Apache
    • Click Start next to Apache in the control panel.
    • If the module turns green, Apache is running successfully.
  4. Access localhost
    • Open your browser and go to:

http://localhost/

    • You should see the XAMPP welcome page.

Tips

  • Both WAMP and XAMPP allow you to stop/restart Apache quickly via the tray icon or control panel.
  • Place your PHP files in the www (WAMP) or htdocs (XAMPP) folder to serve them via http://localhost/.
  • For multiple projects, you can create subfolders inside www or htdocs.

 

Popular Posts

Operators (Arithmetic, Comparison, Logical)

Functions (Built-in & User-defined)