Install PHP or Xampp in Windows / Linux / Mac
To work with PHP, we've to install an application -
- Xampp - https://www.apachefriends.org/download.html or
- Wampp - https://www.wampserver.com/en/ or
- Mampp - https://www.mamp.info/en/windows/
Steps to install Xampp in Windows Machine -
I'll show the process to install Xampp and run our first PHP application.
Go to xampp download page and download the latest version of Xampp - current version. And follow the below image screenshots of downloading -
Download Page of Xampp
After downloading, let's check on windows folder
Started the Xampp Installer
Click ok if this prompt come
If anything unchecked, only check these links
Select a folder to install of xampp. We've choosen C:/xampp folder.
Xampp Control Panel
Xampp Control Panel Start Apache and MySQL
Xampp Allow Access
Xampp Start Apache and MySQL
Xampp in C:/xampp/htdocs folder
Inside the htdocs folder
That's it, we've successfully installed xampp on our computer, that's great.
We're now ready to start our PHP application.
What is PHP, it's History, How it Works under the hood in web application
Run our First PHP Program