In this tutorial we learn how to install PHP on windows and how to install PHP using XAMPP. Install Wampserver or XAMPP on your Desktop to quickly create your First web applications with Apache, PHP and a MySQL database.
- Download latest version of PHP from http://www.php.net/downloads.php.
- You can also download the .msi package i.e. windows installer of PHP from sourceforge.net
For installing PHP, we will insist you to install AMP (Apache, MySQL, PHP) software stack. It is available for all operating systems. And than we will see how to Install PHP on Windows and how to install PHP using XAMPP. There are lots of AMP options available in the market which are given below:
- XAMPP (Cross, Apache, MySQL, PHP, Perl)
Now we will see how to Install PHP on Windows and how to install PHP using XAMPP.
Setting PHP on Your Own Desktop
- install a web server on Your Own PC
- install PHP on Your Own PC
- install a database, such as MySQL on Your Own PC
1. How To Download and Install PHP Using xampp Server Step by Step Guide on Windows
Now we will see how to install PHP using XAMPP server in Window.
In this PHP tutorial we will learn step by step how to download PHP and install PHP using XAMPP on different environment like Windows, Linux, Macos and server.
Download XAMPP in Window
You can download latest stable version of XAMPP from the bitnami.com official website https://bitnami.com
Once you open the website it will detect your operating system automatically and show you the correct version for your device. For example we opened the site from 64 bit Windows system so there is 64 bit XAMPP package available for download. If you are from 32 bit Windows or linux or Macos it will display version respectively. You can also download the other versions from the download page Download | bitnami.com
Install PHP on Windows
In order to install PHP XAMPP on Windows you have to perform following actions:
Step 1 : Download the XAMPP Windows Installer Package from the bitnami.com official website as per above.
Step 2 : After downloading the XAMPP Windows Installer package, double click on the downloaded bitnami-xampp-1.0-1-windows-installer file. Now installation process has started and you will see below screen.
Step 3 : Click on Next button, On the Next screen, Accept the terms in the license agreement and click on the Next button.
Step 4 : On Next screen, choose the location where XAMPP needs to be installed if want to install new location otherwise leave default location and then click on the Next button.
Step 5: Accept the default components as per below screenshot and click on the Next button. You don’t need to change anything at here.
Step 6 : Now XAMPP is ready to install at your system. Click on the Install Button
After clicking on the Next button,XAMPP started to install at your system please keep waiting for finish installation
Step 7 : Once Installation is done. Click on the finish button. Now XAMPP is installed at your system successfully and ready to use for developing web sites.
How to verify Installation
You can verify the installation or check the version of xampp by the following steps. And run Apache and MYSQL services.