How to Run PHP file on localhost | Windows 10 [ 2022 Update ] Complete guide for using XAMPP Server
Вставка
- Опубліковано 15 жов 2024
- 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.cloud...
👉 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.buymeacoff...
✻ 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.apachefrie...
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
✻ UA-cam channel: / geekyscript
---------------------------------------------------------------------------
Song: Jarico - Island
Music promoted by #BackgroundMusicWithoutLimitations
Watch: • Free Background Music ...
Free Download: bit.ly/3n3snwj
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 UA-cam Thanks!
Contact number?
Thank you so much. It worked after endless struggles trying to guess the problem.
@@Whyareyouge Welcome! All the best :)
Great
After 20-30 videos this is the one at the end that finally helped me. Thank you so much!
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.👍
Glad it helped!
Thanks, it's a perfect explanation for someone who just wants to run a php project quickly.
Glad it was helpful!
I just started with php and you have made me love it thanks so much. You got my follow
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
Awesome! :) All the best for your exam :)
Also, you can watch this PHP video: ua-cam.com/video/Mip_RuSEoso/v-deo.html
And you can Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
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.
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.
You're welcome! ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
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.
Glad it helped!
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
Glad it helped!
Bhai local host pea server didn't respond a raha hai
Yours is just 4hours 2months now
why when i type localhost in browser, it don't go to "localhost/dashboard/"? Please help
Apache wasn't starting [in the xampp control panel] for me, not until I reinstalled xampp & followed this video ^-^
thanks so much!
Glad it helped!
Same problem i tried many times by reinstalling xampp but again same problem coming apache not wrking means not starting
You indians are just love in this field ❤
Love from Pakistan
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
Thank you bro! Proud to be an Indian :)
Also if possible pls do subscribe! It will help to make more such videos :) Jai Hind
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 ?
I am writing program correctly but it is not reflected on local host . I have saved and done everything plz help me
Thankyou so much! Been spending about 2 hours just because of a silly mistake! Kudos mate!
Glad it helped!
This video has been very useful in helping me set up localhost with port number and html file
Glad it helped! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
Thank you. This is helpful. But is it only php program that can be hosted? Can python files be hosted on this app too?
no. only php
Hey INDIAN GUY THANK YOU!
Most welcome friend 😊
Was that necessary? 😂😂
@@anim3606 it's because it's always that one INDIAN GUY saving our day😂
Very easy to follow and went very smoothly for me. Thanks a lot!
Glad it helped!
Bhai local host mea server did not respond a raha hai
But my apache is not starting i tried many times .when i click on start it automatically starts and then stops itself
great video. Thanks bro. How to fix this problem of PHP in Bitnami WordPress? In Bitnami we do not install xamp separately, is not it?
please reply. Thanks a lot.
But it not working for me,I have an error " The requested url not found on this server " sir plz help 🙏
Thank you sir it's. Helpful
Glad it helped
Should we allow xampp to make changes in our device?
you can
it shows that the requested url is not found in this server what can i do now
same here
2 days after this video solve my problem thanks sir
Yes, it so easy to follow and easy to understand. Thanks, @Geeky Script!
Glad it was helpful!
I am facing an error ... HTTP Error 404.0 Not Found
This is very helpful video sir. i was looking for this type of video more than 2 hours, finally i found.Thank you sir
Glad it helped
i tried above the following steps but whie i click the 9:06 step it show the program what i type
Good Explain XAMPP server , thank you
You are welcome
Sir I couldn't get the Index of/ page and it just gave the output for my program i.e., factorial. I couldnt see seperate folders as yours under parent directory.
Bro same problem,pls tell the solution for it
Very easy to follow and went very smoothly for me. Thanks a lot
Great to hear!
Hello Sir, How to see PHP files of a live online website ? Please help me.
Very good
Thanks😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
You are a legend! Thank you for this perfect tutorial
You're welcome!
apache modul is not working.
what can i do?
wlllaah asat ta bzaaaaf shokran bzzzaf ta rah knt ghdi njibprojet 0 shukraaaan kayslmo 3lik wlad rashidia o hmza shukraaaann assssaaaaaat
thank u so much bro 😘
You're welcome!
This was very helpful thank you so much
Glad it was helpful!! Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
Thank for the precise tutorial !
Glad it was helpful!
Can you make a video on how to run PHP website with oracle database files on xampp. I keep getting errors.
Why the localhost is takes much time to load and sometime it work good for same code...?
localhost should be lighting fast.. i dont know why u r experiencing slowness sometimes..
@@GeekyScript I am having i3 processor is this can be reason?
@@arshitaanchaliya1583 could be.. but how much is ur ram?
it says something is blocking when trying to start apache
It is not clear what PHP code is used.plz help me
Thanks a lot good sir! True hero!
You're welcome!! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
why my result is not found even i follow all
thanks because I really had trouble view php code
Glad it helped!! 😊💜️
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs/
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/
what is the solution of not allowed to load local resource?
Can I configure NetBeans to point at my Xampp server?
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
thanks bro very helpfull video for beginners
Glad it helped
thank u for the wonderful explanation❤
You're welcome 😊
Lovely, thank you 🎉
You're welcome!
life saver, thanks man
Happy to help😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Thanks sir for this guidence....
Most welcome! Pls do Subscribe also if u like it :)
thank-you geeky, Legends never die.
403 Forbidden. What should I do?
Only text document is created not the program file, please help
u need to enable the file name extension
In my college wordpress work with local host in computer
How to run xampp in my lqptop pls help sir
i have made a detail video about it.. u can find it in my channel
literal lifesaver
You're welcome!
very easy and helpful thank u so much🥰
You're welcome 😊
You're welcome 😊
Tysm you literally did it🤗🤗
Glad I could help :) All the best!
Ite really work thnkks sir❣
Thank thank you so much this is really helpful
Glad it was helpful!
Thanks, very useful and simple video
Glad it was helpful!
Bro yeh start hone ke baad automatically stop ho jata hai
Thanks bro. Is there any easier way since it is so much time consuming
no that's the only way in php at localhost environment
Thank you very much sir....👍👍👍
Most welcome 😊
thank you so much, you really helped me for an exam!!!
You are so welcome!
Thank you sir 🙏🙂
Most welcome
Very helpful... thank you 😊
You're welcome 😊
Cheers for the help mate
Cheers!
thank you so much Geeky Script. I just started using XAMPP and to test whether php was installed and working, I typed the direct name of the php file into the address bar i.e "localhost/test.php" but that returned an error 404. However, your method in this video was successful. Any idea why Apache can not read my php file directly from root directory? Thanks again
there maybe some typo.. from root directory also it should be able to run the file
thanks it really helped
You're so welcome!
Great tutorial.
Glad you liked it! Pls do Subscribe also if u like it :)
Awesome stuff!
Glad you enjoyed it
Thanxx.great lesson.
I can't thank you enough for this. ❤
You're welcome!
you are a big saver
Thank you! All the best :)
Thanks for this video....🙏
Welcome 😊 pls do Subscribe :)
thanks dude it really helped me
Glad I could help
why wont my SQL and apache start???
what error msg is it showing?
Worked!
Thank you sir 😍
Most welcome
Thank you for sharing, It helps me!
Much love ❤️
Thank you for sharing your knowledge towards us sir, your video help us a lot ❤️...
It's my pleasure
Thanks bro it is very help full to me
Thank you so much ❤️
You’re welcome 😊 Pls do Subscribe also if u like it :)
Thank you!!
You're welcome!! ❤❤
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs/
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/
Thank you, I sole my problem
Thank you😊
You're welcome 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
You are awesome bro!
Most Welcome!
Thanks it works!!!
You're welcome!
Not working
Tnq sir❤
Welcome! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Thank you so much.
You're welcome!