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.
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.
To run PHP code on your local machine you need three things:
To write your script, you need to use a text editor program,the following general used text editor in different os platform:
TextEdit on Mac OS X
<?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.