In this part, we are going to learn about installation of PHP and MySQL i.e. Xampp installation on windows.
Here is what Wikipedia saying about Xampp.
If you don’t read our previous tutorial then click below:
Here are the general requirement for installing PHP on windows.
Apache web server
Apache is the most widely used web server in PHP development. A web server listens for page request from the web browser. It serves a page back to the browser as a response.
The recent version of PHP is 7.0.13. The process of installing PHP on any version of windows is very similar.
The latest version of MySQL is best suitable for your requirements.
We will need a text editor for writing our code. You guys can use any text editor of your choice. I will use Sublime Text.
A browser is required to execute the PHP code. I am using Google Chrome. You guys can also use Firefox or any other of your choice.
Now let’s discuss the installation process. We need a software like Wamp or Xampp for installing Apache, PHP, and MySQL.
Xampp or Wamp server is all in one built in package, that contains all three of these.
We will work on Xampp server. Xampp supports Windows, Mac and Linux operating systems.
Downloading and installing Xampp
In Xampp, X stands for cross-platform i.e. it supports windows, mac, and Linux operating systems. A for Apache, m for MySQL, and P for PHP.
It can be downloaded from here. Visit the site and download Xampp server for your system. Install a Xampp that is compatible with your system and PHP.
After downloading the Xampp server to your system click on the setup to install it.
Choose the location on your system. C drive is by default drive for installing Xampp. You guys can install it in another drive of your choice.
I have installed it in C drive of my system.
Click next, here you can check the box if you want to learn about bitnami. You can also leave it blank.
Click on the small icon on the lower right corner of your windows screen. Here you can check either the Xampp icon is visible or not.
Here is the screenshot.
Now we will check in our browser whether our recently installed Xampp server is working correctly.
Open your browser and write localhost. It must redirect you to the following page.
If you are seeing the above page then you have successfully installed your Xampp server.
On left side of this page, you can check all the info related to Xampp server including PHP.