XAMPP Server Installation Steps
Download the XAMPP SetupDouble click the .exe file
Choose a language from the menu, and then click OK.
Click on Next button.
Click on Next button again.
Click on Install.
Finally, click the Finish button.
Click Yes, to open the XAMPP Control Panel (see screenshot below).
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
How To Execute PHP Script On XAMPP Server
Step 1 : First Create PHP script using any editor like notepad, notepadd++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