PHP - Setup

PHP does not come pre-installed on Windows or other systems. To work with PHP on Windows and other like linux system, PHP will need to be manually downloaded and installed.if you are directly run your php application in web server first by a web space and domain name to run your php application and script,the following two method explain to run php live server and localhost in your computer.

Set up PHP on Web Host

Buy a web space and domain name on internet service provider like Godaddy and Bluehost.After buy web space and domain name.goto file manager and create a file and writeing your php script and run live application.

Set up PHP on Computer

To run PHP code on your local machine you need three things:

      Web Server

      PHP

      MySQL Databases

Download Web Server

      WAMP Windows  

      LAMP Linux  

      MAMP MAC  

Write Your Script

To write your script, you need to use a text editor program,the following general used text editor in different os platform:

      Windows Notepad

      Vi

      TextEdit on Mac OS X

Write Your First Script



<?php
	echo "This is My First Script";
?>						
							

completely understand above information about setup and install php read next topic click on next button and read php syntax it very usedful for beginners of php programming.