Download the Xampp for Windows installer from Apache Friends.
Run the installer then click Next.
Leave the default options in the components window and click Next.
Select an installation folder then click Next.
Select the language then click Next.
Click Next again to continue with the installation.
Leave the check mark on “Do you want to start the Control Panel now?” then click Finish.
Click the Start button for the Apache and MySQL from the control panel.
Apache and MySQL services are now running.
To check if PHP is working, go to http://localhost from your browser and you should see Welcome to XAMPP……..