PHP Tutorial

PHP Introduction

PHP is a server-side scripting language which is used for web development. It stands for Hypertext Preprocessor. It is faster than another programming language. It supports multiple databases like MySQL, SQL, PostgreSQL and many more.

History of PHP

PHP was developed by Rasmus Lerdorf in 1995. It is used to develop a dynamic web application. The earlier name of PHP was a personal homepage.

The PHP code is usually processed by PHP interpreter as a module in the web server or as a Common Gateway Interface (CGI).

Why should we use PHP?

We should use PHP because of various reasons.

  • It runs on various platforms like (Windows, Linux Mac, etc.)
  • It is compatible with all servers like (Apache, IIS, etc.)
  • It supports a wide range of databases.
  • It is free.
  • It is easy to learn.

Features of PHP

There are various features of PHP that are given below.

  • Performance
  • Embedded
  • Portability (Platform Independent)
  • It is easy to use in comparison to other languages.
  • It is an open Source programming language.

Hello world program in PHP

Before start PHP, let us take a simple example of a hello world!. We know that PHP is embedded in HTML.

The most common tag of PHP is:

Output

PHP Topics

Core PHP:

CMS Tutorial

Leave a Comment