Showing posts with label Installing XAMPP Server in Windows. Show all posts
Showing posts with label Installing XAMPP Server in Windows. Show all posts

Tuesday, 23 February 2021

Installing PHP Server - XAMPP in Windows

Installing XAMPP in Windows OS

  • Go to this link "https://www.apachefriends.org/download.html"
  • Choose latest xampp version for windows
  • After clicking exe file will be downloaded in your machine
  • Right click on the downloaded file and click run as administrator
  • Click Next
  • Again click Next
  • Now, Change folder from "C:\" drive to "D:\" drive or any other
  • Click Next
  • Click Next
  • Click Next
  • Click Next, now installation will start
  • After installation, click XAMPP Control Panel from windows menu and Start the Apache, MySQL and Tomcat Module


  • Now, type "localhost" in the browser address bar and you will see the following screen:
  • Now create a simple php file(example: test.php) in the notepad and save the file in "D:\xampp\htdocs folder"
  • Now in the web browser address bar type "localhost/test.php" and see output as follows:
test.php

<?php
echo "Welcome to php";
?>




Thank you