Install PHP or Xampp in Windows / Linux / Mac - Easy PHP Server setup

Install PHP or Xampp in Windows / Linux / Mac - Easy PHP Server setup

Required Softwares to Run PHP

To work with PHP, we've to install an application -

  1. Xampp - https://www.apachefriends.org/download.html  or
  2. Wampp - https://www.wampserver.com/en/ or
  3. 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
Download Page of Xampp

After downloading, let's check on windows folder
Download Page of Xampp

Started the Xampp Installer
Started the Xampp Installer

Click ok if this prompt come
Xampp install-check links

If anything unchecked, only check these links
Xampp install choose link

Select a folder to install of xampp. We've choosen C:/xampp folder.
Xampp select folder

Installing Xampp
Installing Xampp

Xampp Control Panel
Xampp Control Panel

Xampp Control Panel Start Apache and MySQL
Xampp Control Panel Start

Xampp Allow Access
Xampp Allow Access

Xampp Start Apache and MySQL
Xampp Start Apache and MySQL

Xampp in C:/xampp/htdocs folder
Xampp in Folder

Inside the htdocs folder
Inside Xampp 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.

 

Previous
What is PHP, it's History, How it Works under the hood in web
Next
Run our First PHP Program