Guide How to Run a PHP Program in XAMPP
Guide

How to Run a PHP Program in XAMPP

Run a PHP Program in XAMPP:-  If you are one of those who runs their program under PHP, then you have dropped at the right place. As in this article, we are going to share with you the method through which you can Run a PHP Program in XAMPP.

What is PHP Program?

PHP is the abbreviation for Hypertext Pre-processor, which in the former times stood for Personal Home Pages. A PHP Program is a server-side scripting language which is used to develop dynamic or static websites or web apps.

This PHP Program can be made to run in various servers that already have a PHP installed like- WAMP, which is a web development server that aids in creating dynamic web apps and XAMPP, a free open source cross-platform web server.

Download XAMPP Server:-Download

How to Run a PHP Program in XAMPP?

Given below is the method to run a PHP program in XAMPP server.

Step 1:- To begin to run a PHP program in XAMPP, firstly Install XAMPP.

Step 2:- If you have installed XAMPP in C Drive. For this, go to C:\XAMPP\htdocs.

Step 3:- Next, create a new folder ‘androidjungles’.

Step 4:- Create first PHP program in XAMPP and then name it- ‘add.php’

Step 5:- Then, on the desktop, double-click on XAMPP Control Panel and Start ‘Apache’.

Step 6:- Now, type localhost on the browser and hit enter button.

Step 7:- On the browser, next you will have to type- https://localhost/androidjungles/

Step 8:- Lastly, press the ‘add.php’.

Musr Read:- How to convert Int to String in Python

Conclusion:-

Hope you all understood the method to run a PHP program in XAMPP. In case of any doubts or questions, do let us know in the comment box below. Follow our page- Android Jungles for more such articles or you can also subscribe to our newsletter and receive timely notifications of our posts.

Happy Androiding:-)

About the author

Ashish Patel

I am Ashish Patel. Founder of Android Jungles. I have been into Tech Blogging for 1 year. other than blogging I am a hardcore gamer. I love CS-Go and Many More games.

Add Comment

Click here to post a comment