How to run Php First program in Xampp server.

DevOps

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

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:

<strong><?php
  $name = "product";
  echo $name;
?></strong>Code language: HTML, XML (xml)

Step 5:

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

product