Site icon NgDeveloper

Php Hello world

Step 1: Create a file named hello.php under the php file extracted location(I have extracted my php in d:\php), so i have pasted the below code in d:\php\hello.php and paste the below code,

<?php  
echo "Hello World!\\n" 
?>

 

Step 2: Now go to the command and execute as follows,

 

Thanks for reading this post……….!!!

Exit mobile version