PHP Install

In this tutorial, you’ll learn how to install PHP on your computer to start Coding in PHP.



To work with PHP locally, you need to have the following software:

  1. PHP
  2. Apache webserver.
  3. MySQL database server

We can install the above 3 individually or else we can install XAMPP an easy install Apache distribution that contains PHP, MariaDB, and Apache webserver.

XAMPP supports Windows, Linux, and macOS.

Install XAMPP on Windows

Step-1



Download XAMPP, Click the link

Step-2

Double-click the downloaded file to start setting up XAMPP



Step-3
Select components to install



Step-4
It will ask you to select your working folder where the package will be installed, So you can choose as your folder, but, It’s recommended to install XAMPP in the c:\xampp folder.

Step-5
Now you can select a language for your preferred language.



Step-6
Once completed, the XAMPP setup wizard shows the following screen.



 

 

Step-7
Once completed, To start a service, you click the corresponding Start button.



 



Now you can click the Admin on the Apache module it will open your work broswer.

[ http://localhost/dashboard/ ]

If you click the admin on the Mysql module it will open your database PHP MyAdmin wizard



[ http://localhost/phpmyadmin/]