We need Apache service to run php codes. Xampp is the open source software we can use as Apache Server in Windows. Please click here to download.
Before installing Xampp in Windows PC, you better decrease UAC Level and disable Firewall or Antivirus.You can set back default setting after installation.
How to decrease UAC Level
1. Type uac in the search box and press Enter.User Account Control Setting Box will be appeared.
2. Choose Lowest Level and Click Ok.
How to disable Firewall
1.Press Windows and R Keys together at the same time.Run Box will be appeared.
2. Type firewall.cpl in the Run Box and click OK.
2. Click Windows Firewall on or off.
3. Choose Turn off Windows Firewall and click OK.
Then, start to run the exe file you've downloaded and follow the procedures.It will take some time to finish installation.
Now, I hope you've successful installed. Open the Xampp Control Panel. Start Apache and MySQL. You will see as the following picture.
1. To check php version, click PHPInfo.
2. To MySQL Service, click phpMyAdmin.