Intern and inplant students task:100+programs downloadload materialsHow to run PHP program in Xampp step-by-step?

https://drive.google.com/drive/folders/11pz4fBBon-YSBl7qx0dAt0L2eDZS6VM6?usp=sharing 


How to run PHP program in Xampp step-by-step?

  • Write this program in a notepad and save it as file.php or any other name.
<?php echo " hello ! Welcome to Itxperts" ?>
  • After completion of the installation, you can use the XAMPP Control Panel to start/ stop all servers.
  • Start Mysql and Apache servers.
Xamp Control Panel - how to run php program - Edureka
  • Copy file.php to htdocs (C:/Program Files/XAMPP/htdocs)
  • You can also create any folders inside htdocs folder and save our codes over there.

In order to get the dashboard for localhost: search http://localhost in any browser.

Xamp UI- how to run php program - Edureka
  • Now to run your code, open localhost/file.php then it gets executed.

With this we come to an end of this article. I hope you have learned about XAMP, the installation of XAMP and how to run a PHP program in Xampp.

Share:

Live Chat With Us

My Blog List

Search This Blog

Locations

Training

Pages

My Blog List

Blog Archive

Privacy policy