PHP Introduction

PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP stands for Hypertext Preprocessor. It is a very popular and widely-used open source server-side scripting language to write dynamically generated web pages. PHP scripts are executed on the server and the result is sent to the web browser as plain HTML. PHP 7 is the latest stable release.

PHP has several advantages over other server side scripting languages.

Easy to learn

For beginner web programmers, PHP is often considered as the easier and preferable language to learn.

Open source

PHP is an open-source project which is developed and maintained by a worldwide community of developers who make its source code freely available to download and use.


PHP runs on various platforms such as Linux, Microsoft Windows, Mac OS etc. and it is compatible with almost all servers used today such Apache, IIS.


PHP scripts usually execute faster than those written in other scripting languages like ASP, Ruby, Python, Java, etc.

Vast Community

Since PHP is supported by the worldwide community, it is extremely easy to find help or documentation.

PHP File

PHP files are stored with “.php” extension. A PHP file can contain text, HTML, CSS, JavaScript, and PHP code. The PHP code is executed on the server and returned to the browser as plain HTML.