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:-
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
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.