Run PHP program in local Server || #Part 2
In this article we have learn to run PHP program in local Server.
Here is some steps to run PHP program
1. On xamp server and start Apache and MySQL
2. Write a Code into Text editor like notepad or notepad++
PHP Code
<?php
echo "Hello Word";
?>
3. find folder named xamp.
4. Xamp folder has named folder htdocs
5. In htdocs folder create a new folder name Php
6. In your php folder save the php file with extention .php
7. To run code open your favourite browser and search localhost/folder name
Here, localhost/php
8. Open your php file and get your output
what you think about this article ??