πŸš€ DevOps Certified Professional
πŸ“… Starting: 1st of Every Month 🀝 +91 8409492687 | 🀝 +1 (469) 756-6329 πŸ” Contact@DevOpsSchool.com

How to run Php First program in Xampp server.

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Step 1:

First install to xampp server by official link https://www.apachefriends.org/download.html, after that you need to open server to start Apache server. And also start mysql for phpadmin.

Step 2:

Now open any browser in your pc and just type this url: http://localhost and then server run for interprete any php code.

Step 3:

Now create the project file and copy it’s directory and paste into the browser like: http://localhost/myphp/first.php before you create just a folder into c:\xampp\htdocs\myphp

Step 4:

Let us tell you how we create php first program like:

<?php
  $name = "product";
  echo $name;
?>

Step 5:

Now, run it into browser and you get output in next page like:

product