Search This Blog

Friday, January 8, 2016

XAMPP Server Installation Steps

XAMPP Server Installation Steps

Download the XAMPP Setup
Double click the .exe file
Choose a language from the menu, and then click OK.
Click on Next button.
Click on Next button again.
xampp_install
Click on Install.
Finally, click the Finish button.
Click Yes, to open the XAMPP Control Panel (see screenshot below).
xampp_control
Check Apache module and click on start for apache, check mysql module and click on start for mysql
To Launch open your browser and type http://localhost/. you will got the welcome page
xampp_page

How To Execute PHP Script On XAMPP Server

Step 1 :  First Create PHP script using any editor like notepad, notepadd++
Step 2 :  Save file as following…
Create a directory inside xampp/htdocs/myproject/
Save it inside:   C:xampphtdocsmyprojectfirstProg.php
Start XAMPP server (first time only)
Step 3 :  Run the PHP script
Open Your browser and write in url : localhost/myproject/firstProg.php

Output
welcome to the world of php

No comments:

Post a Comment