Start apache web server with WAMP or XAMP
1️ Using WAMP
- Install WAMP
- Download from https://www.wampserver.com and install
it.
- 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
- Start Apache manually (if needed)
- Left-click the WAMP tray icon → Apache → Service →
Start/Restart Service
- Access localhost
- Open your browser and go to:
http://localhost/
- You should see the WAMP homepage.
2️ Using XAMPP
- Install XAMPP
- Download from https://www.apachefriends.org and
install it.
- Start XAMPP Control Panel
- Launch the XAMPP Control Panel.
- Start Apache
- Click Start next to Apache in the control
panel.
- If the module turns green, Apache is running
successfully.
- 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.