Xampp is a local server. If you want to install a local server(xampp server ) on your own system then you can install easily . To run the PHP , you will need a local server(xampp server) and global server (Online).
So let us talk about how to install and configure the Xampp local server.
First click on the link given below .Click here
After clicking on the Link, you can click on Xampp for window.
After the downloaded the xammp you have to click on xammp setup for installation .
After installing the Xammp, you have to start Apache & Mysql.
Now go to computer C:\ drive.
After came to the C:/ drive you have to click on a folder name xammp.
After clicking the xammp folder, you have to click on htdocs.
In htdocs folder you need to create a folder name is PHP .(Folder name –PHP)
Now, whatever PHP file you create, save the folder of PHP .( C:\xampp\htdocs\PHP)
Now go to your web browser and type the localhost /PHP (localhost/PHP is an URL ) URL on your web browser to run the file of PHP .Now you can see your PHP file and click on any PHP file to get the output .
Here you can see that your file output front of you .
In this way, you can run your PHP file on local server.