XAMPP is the most popular PHP development environment. XAMPP is a completely free, open-source and easy to install Apache distribution containing MariaDB, PHP, and Perl.
Download appropriate stable XAMPP version from their download page. Choose the download based on the type of OS (32 or 64bit and OS version) and the PHP version it has to support.
Current latest being XAMPP for Windows 7.0.8 / PHP 7.0.8.
Or you can follow this:
XAMPP for Windows exists in three different flavors:
.exe format
the easiest way to install XAMPP).zip format
archive).7zip format
archive).exe
.C:\\xampp
below the selected target directory.setup_xampp.bat
, to adjust the XAMPP configuration to your system.Note: If you choose a root directory C:\ as target, you must not start setup_xampp.bat.
Use the “XAMPP Control Panel” for additional tasks, like starting/stopping Apache, MySQL, FileZilla and Mercury or installing these as services.