What is php

PHP is a general-purpose scripting language geared towards web development. It was developed by Rasmus Lerdorf in 1994. PHP stands for Personal Home Page but some people also call it PHP: Hypertext Preprocessor. Back in the date, it was only a scripting language that could connect to the database and do some simple server-side programming but by the time, it has evolved into such a huge and beautiful language that once you get a hold on to it, you won’t be going anywhere and it will be difficult to neglect this language.

How to Run PHP?

PHP is purely server-side language and in order to run a PHP file, you have to have a server (Apache, Nginx, IIS) installed on your machine. Once your server is installed, you need to install PHP binaries as well.

if you do not have any server then you can use the command line to run PHP files but again you have to install PHP to run desired commands.

PHP Version History:

Rasmus Lerdorf wrote several CGI in 1994 to manage his personal webpage. He then extended them to work with web forms and to communicate with databases and called this PHP/FI (Form Interpreter). It was great at that time because you can build dynamic web applications now. To speed up the development process and improve the code Rasmus Lerdorf released the basic version of PHP/FI as “version 1.0” on the Usenet discussion […]