Welcome...
We will tell you how to download Xampp and run PHP files like HTML on a local server with PHP My Admin Database from starting to end.
- Step 1: Go to google and Search for Xampp Download.
- Step 2: Click on the first link https://www.apachefriends.org/download.html.
- Step 3: Choose the Version of Xampp you want and click on Download(64 bit).
- Step 4: Download Success Page will open and the installation file will start downloading.
- Step 5: Run the Downloaded file.
- Step 6: It will Sometime give the error (Important! Because of an Activated User Account Control(UAC)...).
- Step 7: Click on Ok.
- Step 8: Setup will Start.
- Step 9: Click on Next.
- Step 10: It will ask for Components you want Click Next again (Remember not to untick MySQL, PHP My Admin).
- Step 11: CLick on Next.
- Step 12: Select a folder if you want or don't change it. Click on Next again.
- Step 13: Select your own language.
- Step 13: Click on next.
- Step 14: Click on next again.
- Step 15: It will open a webpage close it and click on next again.
- Step 16: Download processs will start wait until it is completed.
- Step 17: CLick on Finish.
- Step 18: Control will be started.
- Step 19: Click on start infront of Apache and MySQL.
- Step 20: It will change into stop.
- Step 21: Now go to http://localhost .
- Step 22: It will open a dashboard page.
- Step 23: Now open the xampp folder you have downloaded.
- Step 24: Inside that folder open htdocs folder.
- Step 25: Create a new folder inside it.
- Step 25: Create your php file inside that folder.
- Step 25: Now go to the location http://localhost/(Folder name)/(file name).
- Step 26: Congratulations! Your file has been run on a local server.
Now we will tell you where is your database and how to connect to it...
- Open Control Panel
- Infont of MySQL Click on Admin
- It will open the PHP My Admin Database
- To connect to your Database create a file with the contents listed on this page
- Your default Username='root' and password=''