How to Run PHP file on localhost | Windows 10 [ 2022 Update ] Complete guide for using XAMPP Server
Hello Everyone! Today in this video I am going to step-by-step guide you on How to Run PHP file on localhost. In that process, you will also get to know about installing Xampp Server on Windows 10. Windows (64-bit).
Get up to Free Hosting by using code "GEEKY" and you get 30% off for two months.
👉 Link: platform.cloudways.com/signup...
👉 Promo Code - GEEKY
Subscribe to Geeky Script Vlog Channel: / @geekyscriptvlogs
Subscribe to Geeky Syntax Channel: / @geekysyntax
Now XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages.
So our main question is How to Install the Xampp server on Windows 10?
So let's begin...
Geeky Script (
@GeekyScript) is a Computer Science - Educational Videos Creator 🎉
You can support us by buying a coffee ☕️ here -
www.buymeacoffee.com/geekyscript
✻ I really hope you find this video useful. ♥
✻ Please click on the CC button to read the subtitles of this video.
Step 1. First You need to download Xampp Server. For that, just follow the following link.
www.apachefriends.org/downloa...
This page will lead to the Xampp download on Windows 10. So just click on download and it will start downloading automatically.
Step 2. After downloading just double-click on the installation file for installing Xampp Server on your Windows 10 OS. 64 bit. In my video, I have guided you step by step on how to install the Xampp server. Just follow that if you are facing any issues.
Step 3. Now after installing the Xampp server just simply start the Apache server and MySql.
Step 4. Now go to c drive then the Xampp folder and then the htdocs folder. And in here just create a PHP file and write a hello world script.
Step 5. Now open the browser and type localhost/nameOfYourPhpFile.php
And there you go!!
You have successfully installed the Xampp server on your Windows 10 OS. Cheers!!
Now you can run any server-side scripting language.
So that's all my friends! Please subscribe and hit the bell icon to receive notification!!
Thanks a lot, mate. :)
The instructions in this video tutorial can be applied to laptops, desktops, computers, and tablets that run Windows 10 operating systems like Windows 10 Home, Windows 10 Professional, Windows 10 Enterprise, and Windows 10 Education. This tutorial will work on all hardware manufacturers, like Dell, HP, Acer, Asus, Toshiba, Lenovo, and Samsung.
#Xampp #HowToInstallXampp #Windows10 #XamppInstallation #PHP #Apache #MySQL
Topics addressed in this tutorial:
How To Download And Install Xampp On Windows 10 64 bit OS
Install Xampp on Windows 10
How to Install Xampp and Get Started
Install Xampp on Windows 10
How to Install Xampp and Get Started
Xampp installation windows 10
---------------------------------------------------------------------------
Laptop I use:
amzn.to/4937mKs
amzn.to/3HJGXp5
Recommended Laptops (35k Range):
amzn.to/3OqfNqL
amzn.to/3OrvHRZ
amzn.to/3SLK6uX
Laptops 50k Range:
amzn.to/3ujvWHW
amzn.to/3UrW6CL
amzn.to/3SKlJh7
Rode Wireless Mike:
amzn.to/4899rTH
amzn.to/3wd7nwE
Windows 11 Pro 64-Bit: amzn.to/49cEpvk
Windows 10 Pro 64-Bit: amzn.to/3SIxOn0
Quick Heal Antivirus: amzn.to/49gnsAJ
McAfee Antivirus: amzn.to/48ZoHUp
---------------------------------------------------------------------------
MY RELATED VIDEOS:
✻ All about Android Studio: • How to install Android...
✻ All about PostgreSQL: • How to Install Postgre...
✻ All about MongoDB: • How to install MongoDB...
✻ All about MySQL: • How to Install MySQL o...
✻ All about WordPress: • How to Install WordPre...
✻ All about Java Spring: • Spring Framework | Spr...
✻ All about Maven: • Maven project in NetBe...
✻ All about eBook: • How to Create an Ebook...
✻ All about React: • How to Install React o...
✻ All about NextJS: • How to Install Next.js...
✻ All about Angular: • How to Install Angular...
✻ All about Microsoft SQL Server: • How to Install Microso...
✻ All about Wamp: • How to Install WAMP Se...
✻ All about Visual Studio: • How to Install Microso...
THANK YOU so much for watching!
Please make sure to LIKE and SHARE the video and SUBSCRIBE to the channel for more such videos :)
CONNECT WITH ME ON:
✻ Website: geekyscript.com/
✻ LinkedIn: / geekyscript
✻ Twitter: / geekyscript
✻ Email: geekyscript@outlook.com
✻ KZread channel: / geekyscript
---------------------------------------------------------------------------
Song: Jarico - Island
Music promoted by #BackgroundMusicWithoutLimitations
Watch: • Free Background Music ...
Free Download: bit.ly/3n3snwj
Пікірлер: 285
Did this tutorial help you to Run a PHP file on localhost? Comment Now!! and Let me know your opinion... And Please SUBSCRIBE for more! Also, you can Support my work through KZread Thanks!
@samirchaudhary6249
3 жыл бұрын
Contact number?
@Whyareyouge
2 жыл бұрын
Thank you so much. It worked after endless struggles trying to guess the problem.
@GeekyScript
2 жыл бұрын
@@Whyareyouge Welcome! All the best :)
@pablue
2 жыл бұрын
Great
After 20-30 videos this is the one at the end that finally helped me. Thank you so much!
@Nathan-ot9eu
Жыл бұрын
i feel your pain man, it seems like everything else just made things worse and no one ever mentions the htdocs file at all. i did find info about the HTdoc files on google but it was hard to follow then i found this man. 🙏
This helped a lot. I have my website from 2004-2006 that I was not able to see since 2006 this really worked great. Thanks.👍
@GeekyScript
Жыл бұрын
Glad it helped!
Thanks, it's a perfect explanation for someone who just wants to run a php project quickly.
@GeekyScript
2 жыл бұрын
Glad it was helpful!
I just started with php and you have made me love it thanks so much. You got my follow
Yes, it so easy to follow and easy to understand. Thanks, @Geeky Script!
@GeekyScript
Жыл бұрын
Glad it was helpful!
Very easy to follow and went very smoothly for me. Thanks a lot!
@GeekyScript
Жыл бұрын
Glad it helped!
@mohdayyan1167
4 ай бұрын
Bhai local host mea server did not respond a raha hai
Thank you for sharing, It helps me!
thank-you geeky, Legends never die.
Thank you so much i learned a lot from this video
This is very helpful video sir. i was looking for this type of video more than 2 hours, finally i found.Thank you sir
@GeekyScript
2 жыл бұрын
Glad it helped
bro just want to say thank you been trying for so long and realized i was simply not doing anything right and you made it so easy.
@GeekyScript
3 ай бұрын
Glad I could help! 😊 ❤ Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
Yes, finally. I was watching another creator's video and they did not explain this. Thank you.
@GeekyScript
4 ай бұрын
You're welcome! ❤ Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
Very easy to follow and went very smoothly for me. Thanks a lot
@GeekyScript
Жыл бұрын
Great to hear!
Apache wasn't starting [in the xampp control panel] for me, not until I reinstalled xampp & followed this video ^-^ thanks so much!
@GeekyScript
Жыл бұрын
Glad it helped!
2 days after this video solve my problem thanks sir
Thankyou so much! Been spending about 2 hours just because of a silly mistake! Kudos mate!
@GeekyScript
9 ай бұрын
Glad it helped!
Ite really work thnkks sir❣
Thanxx.great lesson.
THANK YOU SO SO MUCH PLS I HAVE BEEN TRYING TO FIGURE OUT HOW TO RUN A PHP FILE FOR FOUR HOURS NOW AND IT FINALLY WORKED AFTER I SAW YOUR VIDEO 😭 THANK YOU SO MUCH YOU'RE MY LIFE SAVER
@GeekyScript
8 ай бұрын
Glad it helped!
@mohdayyan1167
4 ай бұрын
Bhai local host pea server didn't respond a raha hai
Awesome stuff!
@GeekyScript
Жыл бұрын
Glad you enjoyed it
Tysm you literally did it🤗🤗
@GeekyScript
Жыл бұрын
Glad I could help :) All the best!
Thank for the precise tutorial !
@GeekyScript
9 ай бұрын
Glad it was helpful!
Thank you very much!
Thank thank you so much this is really helpful
@GeekyScript
2 жыл бұрын
Glad it was helpful!
Thanks bro it is very help full to me
thanks dude it really helped me
@GeekyScript
2 жыл бұрын
Glad I could help
You are a legend! Thank you for this perfect tutorial
@GeekyScript
9 ай бұрын
You're welcome!
Thanks, very useful and simple video
@GeekyScript
Жыл бұрын
Glad it was helpful!
Lovely, thank you 🎉
@GeekyScript
8 ай бұрын
You're welcome!
Very helpful... thank you 😊
@GeekyScript
Жыл бұрын
You're welcome 😊
Tomorrow is my practical exam i have not practised and my teacher even cant run a php file but i did it now after watching this video thank you
@GeekyScript
5 ай бұрын
Awesome! :) All the best for your exam :) Also, you can watch this PHP video: kzread.info/dash/bejne/f52kwbSug6jVo9I.html And you can Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
I can't thank you enough for this. ❤
@GeekyScript
9 ай бұрын
You're welcome!
Thank you for sharing your knowledge towards us sir, your video help us a lot ❤️...
@GeekyScript
2 жыл бұрын
It's my pleasure
Thank you!
Much love ❤️
Worked!
perfect tutorial
Cheers for the help mate
@GeekyScript
Жыл бұрын
Cheers!
Thank you so much bro😃😊
@GeekyScript
2 жыл бұрын
Glad it helped!
been struggling with xampp and vs code for like 4 hrs, executable path issues. atleast now its rendering on the web page. i can now start learning php. thanks.
@GeekyScript
Жыл бұрын
Glad it helped!
thanks it really helped
@GeekyScript
11 ай бұрын
You're so welcome!
Thanks it works!!!
@GeekyScript
2 жыл бұрын
You're welcome!
Thank you so much ❤️
@GeekyScript
Жыл бұрын
You’re welcome 😊 Pls do Subscribe also if u like it :)
thanks bro very helpfull video for beginners
@GeekyScript
Жыл бұрын
Glad it helped
This was very helpful thank you so much
@GeekyScript
2 ай бұрын
Glad it was helpful!! Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
Thank you so much ❤
@GeekyScript
Жыл бұрын
You're welcome 😊
Thank you so much
very easy and helpful thank u so much🥰
@GeekyScript
Жыл бұрын
You're welcome 😊
@GeekyScript
Жыл бұрын
You're welcome 😊
Ty sir for this tutorial
@GeekyScript
2 жыл бұрын
My pleasure! All the best.
thank u for the wonderful explanation❤
@GeekyScript
7 ай бұрын
You're welcome 😊
Perfect💯
@GeekyScript
2 жыл бұрын
Thanks 😊 all the best for the future ✌️👍
thank you so much, you really helped me for an exam!!!
@GeekyScript
2 жыл бұрын
You are so welcome!
Thank you sir it's. Helpful
@GeekyScript
11 ай бұрын
Glad it helped
life saver, thanks man
@GeekyScript
3 ай бұрын
Happy to help😊 ❤ Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
Thank u!
Great tutorial.
@GeekyScript
Жыл бұрын
Glad you liked it! Pls do Subscribe also if u like it :)
You are awesome bro!
@GeekyScript
Жыл бұрын
Most Welcome!
Thank you very much sir....👍👍👍
@GeekyScript
Жыл бұрын
Most welcome 😊
Good Explain XAMPP server , thank you
@GeekyScript
10 ай бұрын
You are welcome
Thanks sir for this guidence....
@GeekyScript
Жыл бұрын
Most welcome! Pls do Subscribe also if u like it :)
thank u so much bro 😘
@GeekyScript
8 ай бұрын
You're welcome!
Thanks for this video....🙏
@GeekyScript
Жыл бұрын
Welcome 😊 pls do Subscribe :)
This video has been very useful in helping me set up localhost with port number and html file
@GeekyScript
Ай бұрын
Glad it helped! ❤ Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
You indians are just love in this field ❤ Love from Pakistan
it is very helpful thankyou
@GeekyScript
7 ай бұрын
Most welcome
Thanks a lot good sir! True hero!
@GeekyScript
Ай бұрын
You're welcome!! ❤ Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
Thank you so much.
@GeekyScript
2 жыл бұрын
You're welcome!
Thank you sir 😍
@GeekyScript
Жыл бұрын
Most welcome
Thank you sir 🙏🙂
@GeekyScript
Жыл бұрын
Most welcome
Thank you sir I got it
@GeekyScript
2 жыл бұрын
All the best
Thank you so much for sir 😊😊😊😊😊
@GeekyScript
Жыл бұрын
Most welcome
thank you for you video, it seems to be working with everyone but in my case after following all the instructions and creating the text document, the produced file was php extension but the icon is completely blank doesn't have the logo like yours did
Thank you ❤
@GeekyScript
11 ай бұрын
You're welcome 😊
tkanks, i successed
@GeekyScript
2 жыл бұрын
Glad it was helpful!
After wasting 2 hour for this problem i lost my hope and suddenly find your video this problem solved in 2 min Again thank you and feeling proud because you are indian🇮🇳🇮🇳♥️♥️ If you read my comment then plz like
@GeekyScript
Жыл бұрын
Thank you bro! Proud to be an Indian :) Also if possible pls do subscribe! It will help to make more such videos :) Jai Hind
Thanks bro!!
@GeekyScript
2 жыл бұрын
Any time
wlllaah asat ta bzaaaaf shokran bzzzaf ta rah knt ghdi njibprojet 0 shukraaaan kayslmo 3lik wlad rashidia o hmza shukraaaann assssaaaaaat
Hey INDIAN GUY THANK YOU!
@GeekyScript
2 жыл бұрын
Most welcome friend 😊
@anim3606
Жыл бұрын
Was that necessary? 😂😂
@ryuugaeisen8946
Жыл бұрын
@@anim3606 it's because it's always that one INDIAN GUY saving our day😂
thank u so much
you are a big saver
@GeekyScript
Жыл бұрын
Thank you! All the best :)
why when i type localhost in browser, it don't go to "localhost/dashboard/"? Please help
Thanks 👍
@GeekyScript
2 жыл бұрын
Thank you too
Thank you❤❤❤❤❤❤❤
@GeekyScript
2 жыл бұрын
You are so welcome
Thank u so much
@GeekyScript
Жыл бұрын
Most welcome 😊
thanks a lot sir
@GeekyScript
11 ай бұрын
Most welcome
Thank you sir
@GeekyScript
Жыл бұрын
Thanks a lot! All the best
Thank you
Thankssss
TYSM ILYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
Thank you😊
@GeekyScript
Ай бұрын
You're welcome 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
literal lifesaver
@GeekyScript
7 ай бұрын
You're welcome!
Nice ❤️
@GeekyScript
3 жыл бұрын
Welcome 😊 stay connected 👍😊
THAAAAAAAAANKKKKK YOU
Thanks sir🙏
@GeekyScript
2 жыл бұрын
Most welcome
My man
Thank You Very Mush My Friend ! Good Luck !
@GeekyScript
2 жыл бұрын
Thanks, you too!
teacher I want to ask can I run php anyway of my location without on a specific like hdoc like you told me ? I want to run php and see on website in other folder without in the xamp ?
Very good
@GeekyScript
4 ай бұрын
Thanks😊 ❤ Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
THANKS
@GeekyScript
2 жыл бұрын
Welcome 😊