Это видео недоступно.
Сожалеем об этом.

How to Run PHP file on localhost | Windows 10 [ 2022 Update ] Complete guide for using XAMPP Server

Поделиться
HTML-код
  • Опубликовано: 27 май 2021
  • 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
    ✻ RUclips channel: / geekyscript
    ---------------------------------------------------------------------------
    Song: Jarico - Island
    Music promoted by #BackgroundMusicWithoutLimitations
    Watch: • Free Background Music ...
    Free Download: bit.ly/3n3snwj

Комментарии • 287

  • @GeekyScript
    @GeekyScript  3 года назад +19

    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 RUclips Thanks!

    • @samirchaudhary6249
      @samirchaudhary6249 3 года назад

      Contact number?

    • @Whyareyouge
      @Whyareyouge 2 года назад +2

      Thank you so much. It worked after endless struggles trying to guess the problem.

    • @GeekyScript
      @GeekyScript  2 года назад +1

      @@Whyareyouge Welcome! All the best :)

    • @pablue
      @pablue 2 года назад

      Great

  • @Asapnab
    @Asapnab Год назад +9

    After 20-30 videos this is the one at the end that finally helped me. Thank you so much!

    • @Nathan-ot9eu
      @Nathan-ot9eu Год назад +1

      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. 🙏

  • @tugw9125
    @tugw9125 Год назад +10

    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.👍

  • @andresgarcia-rg3vx
    @andresgarcia-rg3vx 2 года назад +10

    Thanks, it's a perfect explanation for someone who just wants to run a php project quickly.

  • @binapent_offical
    @binapent_offical 7 месяцев назад +3

    I just started with php and you have made me love it thanks so much. You got my follow

  • @historypassionate1412
    @historypassionate1412 6 месяцев назад +1

    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
      @GeekyScript  6 месяцев назад

      Awesome! :) All the best for your exam :)
      Also, you can watch this PHP video: ruclips.net/video/Mip_RuSEoso/видео.html
      And you can Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @jassiellelopega4304
    @jassiellelopega4304 9 месяцев назад +2

    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
      @GeekyScript  9 месяцев назад

      Glad it helped!

    • @mohdayyan1167
      @mohdayyan1167 5 месяцев назад

      Bhai local host pea server didn't respond a raha hai

  • @DrPhil-jc7xi
    @DrPhil-jc7xi 3 месяца назад +1

    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
      @GeekyScript  3 месяца назад

      Glad I could help! 😊 ❤
      Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @CyDoNgr
    @CyDoNgr 2 года назад +50

    Hey INDIAN GUY THANK YOU!

    • @GeekyScript
      @GeekyScript  2 года назад +5

      Most welcome friend 😊

    • @anim3606
      @anim3606 Год назад +8

      Was that necessary? 😂😂

    • @ryuugaeisen8946
      @ryuugaeisen8946 Год назад +11

      @@anim3606 it's because it's always that one INDIAN GUY saving our day😂

  • @blank.haruka
    @blank.haruka Год назад +1

    Apache wasn't starting [in the xampp control panel] for me, not until I reinstalled xampp & followed this video ^-^
    thanks so much!

  • @Didimowe
    @Didimowe 5 месяцев назад +1

    Yes, finally. I was watching another creator's video and they did not explain this. Thank you.

    • @GeekyScript
      @GeekyScript  5 месяцев назад

      You're welcome! ❤
      Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @Repstar00
    @Repstar00 Год назад +7

    Very easy to follow and went very smoothly for me. Thanks a lot!

    • @GeekyScript
      @GeekyScript  Год назад

      Glad it helped!

    • @mohdayyan1167
      @mohdayyan1167 5 месяцев назад

      Bhai local host mea server did not respond a raha hai

  • @VIVEK_RAGHAV755
    @VIVEK_RAGHAV755 Год назад +1

    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
      @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

  • @kennedymathenge6716
    @kennedymathenge6716 Год назад +1

    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.

  • @psaintjean11
    @psaintjean11 Месяц назад +1

    This video has been very useful in helping me set up localhost with port number and html file

    • @GeekyScript
      @GeekyScript  Месяц назад

      Glad it helped! ❤ Also, watch Complete ECommerce tutorial ⏩ ruclips.net/video/76E2QmjhRtQ/видео.html and WordPress Tutorial Playlist ⏩ ruclips.net/video/qt2BQt7uPbs/видео.html

  • @alinaveed3185
    @alinaveed3185 Год назад +1

    You indians are just love in this field ❤
    Love from Pakistan

  • @xuxaale3469
    @xuxaale3469 Год назад +2

    Yes, it so easy to follow and easy to understand. Thanks, @Geeky Script!

  • @illustrious2065
    @illustrious2065 2 года назад +2

    why when i type localhost in browser, it don't go to "localhost/dashboard/"? Please help

  • @nicholassirait4854
    @nicholassirait4854 10 месяцев назад +1

    Thankyou so much! Been spending about 2 hours just because of a silly mistake! Kudos mate!

  • @sarayasser6167
    @sarayasser6167 Год назад +2

    Very easy to follow and went very smoothly for me. Thanks a lot

  • @surajraj9085
    @surajraj9085 2 года назад +1

    This is very helpful video sir. i was looking for this type of video more than 2 hours, finally i found.Thank you sir

  • @yassineaouni1830
    @yassineaouni1830 Год назад

    wlllaah asat ta bzaaaaf shokran bzzzaf ta rah knt ghdi njibprojet 0 shukraaaan kayslmo 3lik wlad rashidia o hmza shukraaaann assssaaaaaat

  • @travellinglover3787
    @travellinglover3787 10 месяцев назад +1

    Good Explain XAMPP server , thank you

  • @Kek.B.I
    @Kek.B.I Месяц назад +1

    Thanks a lot good sir! True hero!

    • @GeekyScript
      @GeekyScript  Месяц назад

      You're welcome!! ❤ Also, watch Complete ECommerce tutorial ⏩ ruclips.net/video/76E2QmjhRtQ/видео.html and WordPress Tutorial Playlist ⏩ ruclips.net/video/qt2BQt7uPbs/видео.html

  • @vaishnvipatil5349
    @vaishnvipatil5349 11 месяцев назад +2

    Thank you sir it's. Helpful

  • @unarinearaunarine6616
    @unarinearaunarine6616 3 месяца назад +1

    This was very helpful thank you so much

    • @GeekyScript
      @GeekyScript  3 месяца назад +1

      Glad it was helpful!! Also, watch Complete ECommerce tutorial ⏩ ruclips.net/video/76E2QmjhRtQ/видео.html and WordPress Tutorial Playlist ⏩ ruclips.net/video/qt2BQt7uPbs/видео.html

  • @J0C0M
    @J0C0M 4 месяца назад +1

    life saver, thanks man

    • @GeekyScript
      @GeekyScript  4 месяца назад +1

      Happy to help😊 ❤
      Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @christopherclaesson3182
    @christopherclaesson3182 10 месяцев назад +1

    You are a legend! Thank you for this perfect tutorial

  • @Nathan-ot9eu
    @Nathan-ot9eu Год назад +1

    thank-you geeky, Legends never die.

  • @karrrothuharichandraprasad5839
    @karrrothuharichandraprasad5839 2 года назад +2

    Thank thank you so much this is really helpful

  • @arpitapandey7082
    @arpitapandey7082 Год назад +2

    Tysm you literally did it🤗🤗

    • @GeekyScript
      @GeekyScript  Год назад

      Glad I could help :) All the best!

  • @120saisuryaak7
    @120saisuryaak7 9 месяцев назад +1

    Thank for the precise tutorial !

  • @Hiranyagill
    @Hiranyagill Год назад

    2 days after this video solve my problem thanks sir

  • @mujee_fitness_by3622
    @mujee_fitness_by3622 Год назад +2

    Thank you sir 🙏🙂

  • @bangtanboys_7.
    @bangtanboys_7. 2 года назад +1

    it shows that the requested url is not found in this server what can i do now

  • @adnantamboli176
    @adnantamboli176 Год назад +1

    Thanks sir for this guidence....

    • @GeekyScript
      @GeekyScript  Год назад

      Most welcome! Pls do Subscribe also if u like it :)

  • @oyewoleolufemi839
    @oyewoleolufemi839 Год назад +1

    Thank you. This is helpful. But is it only php program that can be hosted? Can python files be hosted on this app too?

  • @nehashaikh9865
    @nehashaikh9865 2 года назад +4

    thank you so much, you really helped me for an exam!!!

  • @a.mcreations9674
    @a.mcreations9674 9 месяцев назад +2

    thank u so much bro 😘

  • @bhawialiraqi2607
    @bhawialiraqi2607 5 месяцев назад +2

    Very good

    • @GeekyScript
      @GeekyScript  5 месяцев назад

      Thanks😊 ❤
      Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @mwapeg
    @mwapeg 8 месяцев назад +1

    Lovely, thank you 🎉

  • @MaryammRazaa
    @MaryammRazaa 8 месяцев назад +1

    it is very helpful thankyou

  • @itzirum3379
    @itzirum3379 2 года назад +1

    Ite really work thnkks sir❣

  • @malavikabhaskaran209
    @malavikabhaskaran209 3 года назад +2

    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.

  • @BhumikaGulwani
    @BhumikaGulwani Год назад +1

    thanks it really helped

  • @MatteoMELINTE
    @MatteoMELINTE Год назад +1

    Thanks, very useful and simple video

  • @Dompression
    @Dompression 8 месяцев назад +1

    literal lifesaver

  • @chimalakondaharshita
    @chimalakondaharshita 8 месяцев назад +1

    thank u for the wonderful explanation❤

  • @shailypatel8694
    @shailypatel8694 Год назад +1

    Very helpful... thank you 😊

  • @melaniebates1054
    @melaniebates1054 Год назад +1

    Awesome stuff!

  • @marwaosama7315
    @marwaosama7315 Год назад +1

    very easy and helpful thank u so much🥰

  • @colynpasc9119
    @colynpasc9119 2 года назад

    Thank you for sharing, It helps me!

  • @olayin
    @olayin Год назад +1

    You are awesome bro!

  • @mithileshkumar479
    @mithileshkumar479 Год назад +1

    thanks bro very helpfull video for beginners

  • @rajarajeswarisubramanian7074
    @rajarajeswarisubramanian7074 Год назад +1

    Thank you so much for sir 😊😊😊😊😊

  • @sammyomoto5456
    @sammyomoto5456 10 месяцев назад +1

    I can't thank you enough for this. ❤

  • @TheADD.
    @TheADD. Год назад +1

    Thanxx.great lesson.

  • @MahmoudSultan30
    @MahmoudSultan30 2 года назад

    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

  • @mohamedkunle528
    @mohamedkunle528 2 года назад

    Thank you so much i learned a lot from this video

  • @wyn1875
    @wyn1875 Год назад +1

    you are a big saver

  • @articuno5202
    @articuno5202 2 года назад +1

    thanks dude it really helped me

  • @Rashmiranjan.
    @Rashmiranjan. Год назад +1

    Thank you very much sir....👍👍👍

  • @donnica_2071
    @donnica_2071 2 года назад +1

    Thank you for sharing your knowledge towards us sir, your video help us a lot ❤️...

  • @tee-hee9553
    @tee-hee9553 9 месяцев назад

    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 ?

  • @priyankagowda5019
    @priyankagowda5019 2 года назад +1

    Should we allow xampp to make changes in our device?

  • @adamrandall5163
    @adamrandall5163 Год назад +1

    Great tutorial.

    • @GeekyScript
      @GeekyScript  Год назад

      Glad you liked it! Pls do Subscribe also if u like it :)

  • @thushankalana4940
    @thushankalana4940 2 месяца назад +1

    Thank you😊

    • @GeekyScript
      @GeekyScript  2 месяца назад

      You're welcome 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ ruclips.net/video/76E2QmjhRtQ/видео.html and WordPress Tutorial Playlist ⏩ ruclips.net/video/qt2BQt7uPbs/видео.html

  • @lalalostyou6858
    @lalalostyou6858 Год назад +1

    TYSM ILYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

  • @RRiteshkumar217
    @RRiteshkumar217 Год назад +1

    Thanks for this video....🙏

    • @GeekyScript
      @GeekyScript  Год назад

      Welcome 😊 pls do Subscribe :)

  • @reactionsallround669
    @reactionsallround669 Год назад

    Cheers for the help mate

  • @All_type_of_vedious
    @All_type_of_vedious 4 месяца назад +1

    Tnq sir❤

    • @GeekyScript
      @GeekyScript  4 месяца назад

      Welcome! 😊 ❤
      Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @Aravind_creation
    @Aravind_creation 2 года назад

    Thanks bro it is very help full to me

  • @lateshsaini8393
    @lateshsaini8393 21 день назад

    apache modul is not working.
    what can i do?

  • @Engineering_verse
    @Engineering_verse Год назад +1

    Thank you so much ❤

  • @rahulpanwar6765
    @rahulpanwar6765 11 месяцев назад +1

    thanks a lot sir

  • @subaanbua134
    @subaanbua134 Год назад +1

    Thank you sir

  • @22kartikeyrokade94
    @22kartikeyrokade94 2 года назад +1

    Thank you so much bro😃😊

  • @amandabiwoye456
    @amandabiwoye456 2 года назад +1

    Thank you!

  • @sunilkirloskar3499
    @sunilkirloskar3499 Год назад

    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.

  • @tasneemkhan4570
    @tasneemkhan4570 Год назад +1

    Thank you so much ❤️

    • @GeekyScript
      @GeekyScript  Год назад

      You’re welcome 😊 Pls do Subscribe also if u like it :)

  • @raistarff2.o948
    @raistarff2.o948 Год назад +1

    Thank you sir 😍

  • @aaarif261
    @aaarif261 11 месяцев назад +1

    Worked!

  • @pankajdoifode5342
    @pankajdoifode5342 Год назад

    But it not working for me,I have an error " The requested url not found on this server " sir plz help 🙏

  • @OWN_7
    @OWN_7 Год назад +1

    Thank u so much

  • @hold4564
    @hold4564 2 года назад +1

    Thank you so much.

  • @repalda4736
    @repalda4736 2 года назад +1

    Thanks it works!!!

  • @rabishrestha5575
    @rabishrestha5575 Год назад

    Hello Sir, How to see PHP files of a live online website ? Please help me.

  • @thamizhmano7231
    @thamizhmano7231 Год назад

    i tried above the following steps but whie i click the 9:06 step it show the program what i type

  • @spacelifts6148
    @spacelifts6148 2 года назад

    Thank you very much!

  • @jtg4416
    @jtg4416 Год назад

    it says something is blocking when trying to start apache

  • @mohammedshamil3976
    @mohammedshamil3976 2 года назад +1

    perfect tutorial

  • @NadiaAkter-jo7qz
    @NadiaAkter-jo7qz Год назад

    It is not clear what PHP code is used.plz help me

  • @yukchunjeremychan9073
    @yukchunjeremychan9073 2 года назад

    Much love ❤️

  • @khalid_0313
    @khalid_0313 8 месяцев назад +1

    Your the best

  • @nikitabhalke6014
    @nikitabhalke6014 4 месяца назад +1

    Thanku ❤

    • @GeekyScript
      @GeekyScript  4 месяца назад

      Welcome! 😊 ❤
      Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @Maria-qm8vq
    @Maria-qm8vq 2 года назад +2

    Perfect💯

    • @GeekyScript
      @GeekyScript  2 года назад +1

      Thanks 😊 all the best for the future ✌️👍

  • @iamofficeman1025
    @iamofficeman1025 Год назад +1

    Thank you ❤

  • @bhavanibysani6867
    @bhavanibysani6867 2 года назад +1

    Thank you sir I got it

  • @magdalineotuoma5731
    @magdalineotuoma5731 Год назад +1

    Thank you

  • @Lan-mar
    @Lan-mar 3 месяца назад

    why my result is not found even i follow all