What are HTTP, PHP, and MySQL?

  • HTTP (hypertext transfer protocol) - This program allows communication worldwide. 
  • PHP (hypertext preprocessor) - It is a program that can be executed on the server side and is a basic element of most websites in the World.
  • Mysql - It is a Database management and storage system.
These three components are the most important programs in the World for websites to be alive. So now we will install these in our local system and configure a web server.

How to install on Windows:

Download xampp installer from here. Xampp is a bundled version of all apache HTTP server, PHP, Mysql server, PHPMyAdmin, mercury mail server, tomcat server, Perl, Webalizer, and fake Sendmail, which is released by Apache Friends.

Open xampp installer

Select apache, mysql, PHP, and phpmyadmin on next screen.



Select Destination folder for the program to install.

Now program will begin to install.

Now you are done installing server on your local machine, just open xampp control panel and start apache and mysql servers.

You can access your website on your browser from http://localhost/ and phpmyadmin on http://localhost/phpmyadmin.


How to install on Linux:

  • Firstly open your terminal on linux suggested terminator.
Update package cache.
Debian based OS
apt update
Fedora based OS
dnf update
RHEL based OS
yum update


  • Now install required packages from following commands.
apt install apache2 php libapache2-mod-php php-mysql phpmyadmin default-mysql-server



  • Now start the apache and mysql services.
service apache2 start
service mysqld start

  • Congragulations you can now access your local web server on your browser from http://localhost/.


Thank you for reading our blog stay connected with us for more updates.

Post a Comment

Previous Post Next Post