Starting Apache to run PHP scripts
Now that you have installed XAMPP, you need to start the apache web service in order for the browser to be able to run PHP scripts. To do this, open up the Control Panel of XAMPP by double clicking on its icon. By default, it should start Apache automatically, but you can start it manually by clicking “Start” as in the picture below:
NOTE: Some other applications installed on your computer can cause Apache not to start because they are using the same port Apache is configured to e.g. Skype. If that is the case, just stop those services and start Apache again.