Hello, everyone welcomes back to new post in PHP tutorials. In the previous lecture, you had learned Introduction to PHP and we told you that we will study how to install PHP in next tutorial. So, today in this tutorial we will tell you how to install PHP in your System. First of all my request to you is that if you have not seen the previous lecture, please have a look at that first and then continue with this chapter.
As you know PHP is server-side scripting language and it runs only on a server. If you don’t have any hosting and you are beginner then you may practice on Local Server also we said sometimes localhost.
HOW TO INSTALL PHP?
Before starting with PHP, it’s important that you should know how to install PHP on your local system, so you can start coding right away.
Many PHP developers like to build their websites and test on local servers before publishing to the real server. To build local web server environment on Windows computers, you can use XAMMP for Windows. In this guide, we will introduce the great free tool XAMPP which is developed by Apache Friend, now the most popular PHP development environment for Windows, Mac OS X & Linux. XAMPP is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and use. Check out below instructions, see how to install XAMPP on Windows computers.
- The installation needs setting up the web server first. For that, you need to download the latest version of XAMMP Here.
Note: XAMPP is a package that includes the Apache web server, MySQL, PHP, Perl, an FTP server and phpMyAdmin.