Php xampp hello world

(Last Updated On: [post_updated])

Step 1: Download the xampp.

Step 2: Open xampp-control application file and start the necessary applications.

Step 3: Open the browser and type “localhost” and check whether the output is coming like below,

Step 4: Create a file named hello.php and paste the below code in htdocs folder which is inside xampp folder,

<html>
 <head>
  <title>My First Php Cgi</title>
 </head>
 <body>
 <?php 
print "Hello Javadomain";
?> 
 </body>
</html>

 Step 5: Open the browser and type “localhost/hello.php” to get the below output

 

 

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

371 total views, 0 views today

Leave a Reply

Your email address will not be published. Required fields are marked *