How To Run PHP File On Your Local Host Server Using XAMPP Soft
Download XAMPP Server. Run php,my sql Files On Your Local server
Using XAMPP is very easy. Follow these steps -
1. Run the XAMPP application. Turn on Apache & MySQL (if yourapplication needs database) services through it.
2. Click on 'Explore' button on the XAMPP control panel - in the windowthat opens, check for htdocs folder.
3. htdocs folder is the one where all your PHP scripts should lie. This is the folder that Apache points to.
4. You might want to create a separate folder inside /htdocs/ folder to save all your PHP programs. Let's call it 'myprograms'.
5. Save your php script in /htdocs/myprograms folder. (Ex. test.php)
6. Now, start your webbrowser and type following address:http://localhost/myprograms/test.php
Your browser will now execute the script and show you the output.
I hope this works for you. If you have further questions, feel free to ask
0 comments:
Post a Comment