How to Install PHP/ XAMPP

Spread the love
  • 1

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.


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.

, , , ,


An undergraduate student from Guru Jambheshwar University currently doing in Information Technology, having two year of experience in Graphics Designing and in Web Development, loves to code. In free time i love to play cricket ,watch tv series and love to travell.
View all posts by RAHUL CHANANA →

2 thoughts on “How to Install PHP/ XAMPP

  1. I have installed the XAMPP successfully. But in control panel while starting the MySQL following error occur.
    Error: MySQL shutdown unexpectedly.
    [mysql] This may be due to a blocked port, missing dependencies,
    [mysql] improper privileges, a crash, or a shutdown by another method.
    please help me to resolve this problem.

Leave a Reply

Your email address will not be published. Required fields are marked *