PHP Server-Side Scripting language for Website Development

PHP (Server-Side Scripting language)

PHP language stands for “PHP: Hypertext Preprocessor” The most widely-used, open source and script language. All PHP scripts are executed on the server.

It can be run on different platforms like:

  • Windows
  • Linux
  • Unix
  • Mac OS X etc.
  • it is usable for almost every server like
  • Apache
  • IIS etc.
  • It also supports the various type of databases.

PHP Syntax

 PHP script starts with


         Code written here…


The extension for PHP files is “.php”. Normally a PHP FILE contains HTML tags, and some PHP scripting code. Below, there is an example of a code, with a PHP script that uses a built-in PHP function “echo” for print out the text “Script Language” on a web page:



                PHP Page

           Script Language

Code Comments
<html>Starting with HTML tags
<h2></h2>Head (heading 2)opening and closing of head
<?phpStarting php
echoBuilt in function to print the text
 ?>Closing of php

Debugging Tools

Gubed PHP Debugger: Gubed PHP Debugger is a PHP debugging tool for hunting down logic errors.

Web grind: Webgrind is an Xdebug profiling Web front end in PHP 5. It installs in some seconds and works on all platforms.

Xdebug: Xdebug is the debugging PHP extensions.

DBG: DBG is a robust and popular PHP debugger for use in local and remote PHP debugging. It can easily be used with the command line.

By:Prof. Fazal Rehman Shamil
CEO @ T4Tutorials
Last Modified: February 2, 2020

3 thoughts on “PHP Server-Side Scripting language for Website Development

  1. Sir, there is no button for next and previous and links not working which is given below.

Leave a Reply

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