What you will learn
Check PHP in CMD, download XAMPP, install PHP, and verify PHP installation on Windows.
Video Tutorial: Install PHP Using XAMPP
Step 0: Check PHP Using CMD
Before installing PHP, always check if it already exists.
php -v
Step 1: Download XAMPP
https://www.apachefriends.org
- Download XAMPP for Windows
- XAMPP includes PHP, Apache, and MySQL
Step 2: Install XAMPP
- Run the installer
- Click Next → Install
- Finish installation
Step 3: Verify PHP Installation
php -v
If PHP version appears → Installation successful 🎉