Download and Install XAMPP
suggest changeWhat is XAMPP?
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.
Where should I download it from?
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:
- Installer (Probably
.exe format
the easiest way to install XAMPP) - ZIP (For purists: XAMPP as ordinary ZIP
.zip format
archive) - 7zip: (For purists with low bandwidth: XAMPP as 7zip
.7zip format
archive)
How to install and where should I place my PHP/html files?
Install with the provided installer
- Execute the XAMPP server installer by double clicking the downloaded
.exe
.
Install from the ZIP
- Unzip the zip archives into the folder of your choice.
- XAMPP is extracting to the subdirectory
C:\xampp
below the selected target directory. - Now start the file
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.
Post-Install
Use the “XAMPP Control Panel” for additional tasks, like starting/stopping Apache, MySQL, FileZilla and Mercury or installing these as services.
File handling
The installation is a straight forward process and once the installation is complete you may add html/php files to be hosted on the server in XAMPP-root/htdocs/
. Then start the server and open http://localhost/file.php
on a browser to view the page.
Note: Default XAMPP root in Windows is C:/xampp/htdocs/
Type in one of the following URLs in your favourite web browser:
http://localhost/
http://127.0.0.1/
Now you should see the XAMPP start page.