banner

What is PHP?


     PHP stands for PHP: Hypertext Preprocessor, with that PHP standing for Personal HomePage [Tools]. This type of acronym is known as a retronym. Originally, in 1994, the language was designed as a small set of binaries used to collect some basic site traffic data. In 1997 the parser was rewritten by two Israelis and the name was changed to the current acronym - it being determined that hypertext preprocessor was a decidedly more acceptable name in the business world. s for C++ developers.

Start PHP:-

  • Install Apache (or IIS) on your own server, install PHP, and MySQL

Download PHP, MySQL Database, Apche server

http:../www.php.net/downloads.php

 http:../www.mysql.com/downloads/

 http:../httpd.apache.org/download.cgi

Download PHP installation guide from here
http:../www.php.net/manual/en/install.php

First PHP WebPage


<html>
<body>

<?php
echo "Hello World";
?>

</body>
</html>

     Here is same tag as html but here a new tag which is <?php        ?>, this tag use for php codes. echo is a function which print "Hello World" on web page. 

     Save the above code with firstphp.php name in php root directory where you install PHP earlier and open it on browser.