![]() ![]() The Post Graduate Program in Full Stack Web Development covers all the fundamental and advanced concepts, making your journey towards learning PHP an easy one. In this “PHP using XAMPP” tutorial, you looked into why you need XAMPP, what XAMPP is, how to install XAMPP, and finally, how to run your first PHP script on it.Īre you planning to take the plunge and do a course on PHP? In that case, Simplilearn’s PHP course would be an excellent choice. Enroll in our PGP in Full Stack Web Development today! Conclusion ![]() Learn right from the basics of JavaScript to advanced concepts of Angular, Spring Boot, Hibernate, JSPs, MVC, etc. Now navigate to your browser and type in “localhost/demo/” in the address bar to view the output.Ĭongratulations, with this, you have created a PHP file and also executed the program successfully. Now, to see the script output, open the XAMPP control panel and start Apache to host the local webserver, where our script will be running.Ĥ. Inside the demo folder, create a new text file and name it “index.php” and write the following script.ģ. It’s considered good practice to create a new folder for every project you work on.Ģ. Go to “C:\xampp\htdocs” and inside it, create a folder. This is where all the programs for the web pages will be stored.ġ. In the XAMPP directory, there exists a folder called “htdocs”. Before running a PHP script, you must know where to write it.
0 Comments
Leave a Reply. |