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

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 299

  • @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 TH-cam 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 ปีที่แล้ว +11

    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.

    • @GeekyScript
      @GeekyScript  2 ปีที่แล้ว +1

      Glad it was helpful!

  • @binapent_offical
    @binapent_offical 9 หลายเดือนก่อน +3

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

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

  • @DrPhil-jc7xi
    @DrPhil-jc7xi 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน

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

  • @jassiellelopega4304
    @jassiellelopega4304 11 หลายเดือนก่อน +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  11 หลายเดือนก่อน

      Glad it helped!

    • @mohdayyan1167
      @mohdayyan1167 7 หลายเดือนก่อน

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

    • @ShabXTech
      @ShabXTech หลายเดือนก่อน

      Yours is just 4hours 2months now

  • @Didimowe
    @Didimowe 7 หลายเดือนก่อน +1

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

    • @GeekyScript
      @GeekyScript  7 หลายเดือนก่อน

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

  • @blank.haruka
    @blank.haruka 2 ปีที่แล้ว +1

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

    • @GeekyScript
      @GeekyScript  2 ปีที่แล้ว +1

      Glad it helped!

    • @reenaarif2300
      @reenaarif2300 หลายเดือนก่อน

      Same problem i tried many times by reinstalling xampp but again same problem coming apache not wrking means not starting

  • @historypassionate1412
    @historypassionate1412 8 หลายเดือนก่อน +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  8 หลายเดือนก่อน

      Awesome! :) All the best for your exam :)
      Also, you can watch this PHP video: th-cam.com/video/Mip_RuSEoso/w-d-xo.html
      And you can Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @alinaveed3185
    @alinaveed3185 ปีที่แล้ว +1

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

  • @nicholassirait4854
    @nicholassirait4854 ปีที่แล้ว +1

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

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

  • @CyDoNgr
    @CyDoNgr 3 ปีที่แล้ว +54

    Hey INDIAN GUY THANK YOU!

    • @GeekyScript
      @GeekyScript  3 ปีที่แล้ว +5

      Most welcome friend 😊

    • @anim3606
      @anim3606 ปีที่แล้ว +8

      Was that necessary? 😂😂

    • @ryuugaeisen8946
      @ryuugaeisen8946 ปีที่แล้ว +12

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

  • @vaishnvipatil5349
    @vaishnvipatil5349 ปีที่แล้ว +2

    Thank you sir it's. Helpful

  • @Repstar00
    @Repstar00 2 ปีที่แล้ว +7

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

    • @GeekyScript
      @GeekyScript  2 ปีที่แล้ว

      Glad it helped!

    • @mohdayyan1167
      @mohdayyan1167 7 หลายเดือนก่อน

      Bhai local host mea server did not respond a raha hai

  • @xuxaale3469
    @xuxaale3469 ปีที่แล้ว +2

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

    • @GeekyScript
      @GeekyScript  ปีที่แล้ว +1

      Glad it was helpful!

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

  • @bhawialiraqi2607
    @bhawialiraqi2607 7 หลายเดือนก่อน +2

    Very good

    • @GeekyScript
      @GeekyScript  7 หลายเดือนก่อน

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

  • @psaintjean11
    @psaintjean11 3 หลายเดือนก่อน +1

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

    • @GeekyScript
      @GeekyScript  3 หลายเดือนก่อน

      Glad it helped! ❤ Also, watch Complete ECommerce tutorial ⏩ th-cam.com/video/76E2QmjhRtQ/w-d-xo.html and WordPress Tutorial Playlist ⏩ th-cam.com/video/qt2BQt7uPbs/w-d-xo.html

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

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

  • @Hiranyagill
    @Hiranyagill ปีที่แล้ว

    2 days after this video solve my problem thanks sir

  • @120saisuryaak7
    @120saisuryaak7 ปีที่แล้ว +1

    Thank for the precise tutorial !

    • @GeekyScript
      @GeekyScript  11 หลายเดือนก่อน

      Glad it was helpful!

  • @sarayasser6167
    @sarayasser6167 ปีที่แล้ว +2

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

  • @christopherclaesson3182
    @christopherclaesson3182 ปีที่แล้ว +1

    You are a legend! Thank you for this perfect tutorial

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

  • @a.mcreations9674
    @a.mcreations9674 11 หลายเดือนก่อน +2

    thank u so much bro 😘

    • @GeekyScript
      @GeekyScript  11 หลายเดือนก่อน

      You're welcome!

  • @travellinglover3787
    @travellinglover3787 ปีที่แล้ว +1

    Good Explain XAMPP server , thank you

  • @unarinearaunarine6616
    @unarinearaunarine6616 5 หลายเดือนก่อน +1

    This was very helpful thank you so much

    • @GeekyScript
      @GeekyScript  5 หลายเดือนก่อน +1

      Glad it was helpful!! Also, watch Complete ECommerce tutorial ⏩ th-cam.com/video/76E2QmjhRtQ/w-d-xo.html and WordPress Tutorial Playlist ⏩ th-cam.com/video/qt2BQt7uPbs/w-d-xo.html

  • @mwapeg
    @mwapeg 10 หลายเดือนก่อน +1

    Lovely, thank you 🎉

    • @GeekyScript
      @GeekyScript  10 หลายเดือนก่อน

      You're welcome!

  • @Nathan-ot9eu
    @Nathan-ot9eu ปีที่แล้ว +1

    thank-you geeky, Legends never die.

  • @illustrious2065
    @illustrious2065 2 ปีที่แล้ว +2

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

  • @chimalakondaharshita
    @chimalakondaharshita 10 หลายเดือนก่อน +1

    thank u for the wonderful explanation❤

    • @GeekyScript
      @GeekyScript  10 หลายเดือนก่อน

      You're welcome 😊

  • @tee-hee9553
    @tee-hee9553 11 หลายเดือนก่อน

    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 ?

  • @yassineaouni1830
    @yassineaouni1830 ปีที่แล้ว

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

  • @arpitapandey7082
    @arpitapandey7082 ปีที่แล้ว +2

    Tysm you literally did it🤗🤗

    • @GeekyScript
      @GeekyScript  ปีที่แล้ว

      Glad I could help :) All the best!

  • @J0C0M
    @J0C0M 6 หลายเดือนก่อน +1

    life saver, thanks man

    • @GeekyScript
      @GeekyScript  6 หลายเดือนก่อน +1

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

  • @mithileshkumar479
    @mithileshkumar479 2 ปีที่แล้ว +1

    thanks bro very helpfull video for beginners

  • @itzirum3379
    @itzirum3379 2 ปีที่แล้ว +1

    Ite really work thnkks sir❣

  • @karrrothuharichandraprasad5839
    @karrrothuharichandraprasad5839 2 ปีที่แล้ว +2

    Thank thank you so much this is really helpful

    • @GeekyScript
      @GeekyScript  2 ปีที่แล้ว

      Glad it was helpful!

  • @Kek.B.I
    @Kek.B.I 3 หลายเดือนก่อน +1

    Thanks a lot good sir! True hero!

    • @GeekyScript
      @GeekyScript  3 หลายเดือนก่อน

      You're welcome!! ❤ Also, watch Complete ECommerce tutorial ⏩ th-cam.com/video/76E2QmjhRtQ/w-d-xo.html and WordPress Tutorial Playlist ⏩ th-cam.com/video/qt2BQt7uPbs/w-d-xo.html

  • @shailypatel8694
    @shailypatel8694 ปีที่แล้ว +1

    Very helpful... thank you 😊

  • @MatteoMELINTE
    @MatteoMELINTE ปีที่แล้ว +1

    Thanks, very useful and simple video

  • @adnantamboli176
    @adnantamboli176 ปีที่แล้ว +1

    Thanks sir for this guidence....

    • @GeekyScript
      @GeekyScript  ปีที่แล้ว

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

  • @mujee_fitness_by3622
    @mujee_fitness_by3622 ปีที่แล้ว +2

    Thank you sir 🙏🙂

  • @marwaosama7315
    @marwaosama7315 ปีที่แล้ว +1

    very easy and helpful thank u so much🥰

  • @reactionsallround669
    @reactionsallround669 ปีที่แล้ว

    Cheers for the help mate

  • @nehashaikh9865
    @nehashaikh9865 2 ปีที่แล้ว +4

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

    • @GeekyScript
      @GeekyScript  2 ปีที่แล้ว +1

      You are so welcome!

  • @melaniebates1054
    @melaniebates1054 2 ปีที่แล้ว +1

    Awesome stuff!

  • @priyankagowda5019
    @priyankagowda5019 2 ปีที่แล้ว +1

    Should we allow xampp to make changes in our device?

  • @Rashmiranjan.
    @Rashmiranjan. ปีที่แล้ว +1

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

  • @BhumikaGulwani
    @BhumikaGulwani ปีที่แล้ว +1

    thanks it really helped

  • @TheADD.
    @TheADD. ปีที่แล้ว +1

    Thanxx.great lesson.

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

    • @mukeshkannan.v5097
      @mukeshkannan.v5097 9 หลายเดือนก่อน

      Bro same problem,pls tell the solution for it

  • @adamrandall5163
    @adamrandall5163 ปีที่แล้ว +1

    Great tutorial.

    • @GeekyScript
      @GeekyScript  ปีที่แล้ว

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

  • @Dompression
    @Dompression 10 หลายเดือนก่อน +1

    literal lifesaver

    • @GeekyScript
      @GeekyScript  10 หลายเดือนก่อน

      You're welcome!

  • @olayin
    @olayin ปีที่แล้ว +1

    You are awesome bro!

  • @jack-md8rq
    @jack-md8rq 2 ปีที่แล้ว

    Thanks bro. Is there any easier way since it is so much time consuming

    • @GeekyScript
      @GeekyScript  2 ปีที่แล้ว

      no that's the only way in php at localhost environment

  • @aaarif261
    @aaarif261 ปีที่แล้ว +1

    Worked!

  • @sammyomoto5456
    @sammyomoto5456 ปีที่แล้ว +1

    I can't thank you enough for this. ❤

  • @articuno5202
    @articuno5202 2 ปีที่แล้ว +1

    thanks dude it really helped me

  • @colynpasc9119
    @colynpasc9119 2 ปีที่แล้ว

    Thank you for sharing, It helps me!

  • @RRiteshkumar217
    @RRiteshkumar217 ปีที่แล้ว +1

    Thanks for this video....🙏

    • @GeekyScript
      @GeekyScript  ปีที่แล้ว

      Welcome 😊 pls do Subscribe :)

  • @jonathangogi
    @jonathangogi 2 ปีที่แล้ว

    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

    • @GeekyScript
      @GeekyScript  2 ปีที่แล้ว

      there maybe some typo.. from root directory also it should be able to run the file

  • @wyn1875
    @wyn1875 ปีที่แล้ว +1

    you are a big saver

    • @GeekyScript
      @GeekyScript  ปีที่แล้ว

      Thank you! All the best :)

  • @Unknown-si8yx
    @Unknown-si8yx 2 ปีที่แล้ว

    Can you make a video on how to run PHP website with oracle database files on xampp. I keep getting errors.

  • @raistarff2.o948
    @raistarff2.o948 ปีที่แล้ว +1

    Thank you sir 😍

  • @yukchunjeremychan9073
    @yukchunjeremychan9073 2 ปีที่แล้ว

    Much love ❤️

  • @tasneemkhan4570
    @tasneemkhan4570 ปีที่แล้ว +1

    Thank you so much ❤️

    • @GeekyScript
      @GeekyScript  ปีที่แล้ว

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

  • @AlamiHerbal-jv9he
    @AlamiHerbal-jv9he หลายเดือนก่อน +1

    thanks because I really had trouble view php code

    • @GeekyScript
      @GeekyScript  หลายเดือนก่อน

      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/

  • @Aravind_creation
    @Aravind_creation 2 ปีที่แล้ว

    Thanks bro it is very help full to me

  • @hasinirajapaksha333
    @hasinirajapaksha333 6 วันที่ผ่านมา +1

    Thank you!!

    • @GeekyScript
      @GeekyScript  6 วันที่ผ่านมา

      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/

  • @mohamedkunle528
    @mohamedkunle528 2 ปีที่แล้ว

    Thank you so much i learned a lot from this video

  • @amandabiwoye456
    @amandabiwoye456 2 ปีที่แล้ว +1

    Thank you!

  • @hold4564
    @hold4564 2 ปีที่แล้ว +1

    Thank you so much.

  • @donnica_2071
    @donnica_2071 2 ปีที่แล้ว +1

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

  • @repalda4736
    @repalda4736 2 ปีที่แล้ว +1

    Thanks it works!!!

  • @22kartikeyrokade94
    @22kartikeyrokade94 2 ปีที่แล้ว +1

    Thank you so much bro😃😊

  • @contentisking6702
    @contentisking6702 8 วันที่ผ่านมา

    I am writing program correctly but it is not reflected on local host . I have saved and done everything plz help me

  • @rabiChannel24
    @rabiChannel24 ปีที่แล้ว

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

  • @Black-xy4pj
    @Black-xy4pj ปีที่แล้ว +1

    Thank u!

  • @pnr8uk
    @pnr8uk 2 ปีที่แล้ว

    Can I configure NetBeans to point at my Xampp server?

  • @rahulpanwar6765
    @rahulpanwar6765 ปีที่แล้ว +1

    thanks a lot sir

  • @All_type_of_vedious
    @All_type_of_vedious 6 หลายเดือนก่อน +1

    Tnq sir❤

    • @GeekyScript
      @GeekyScript  6 หลายเดือนก่อน

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

  • @OWN_7
    @OWN_7 2 ปีที่แล้ว +1

    Thank u so much

  • @rupakdutta8575
    @rupakdutta8575 10 หลายเดือนก่อน +1

    I am facing an error ... HTTP Error 404.0 Not Found

  • @thushankalana4940
    @thushankalana4940 4 หลายเดือนก่อน +1

    Thank you😊

    • @GeekyScript
      @GeekyScript  4 หลายเดือนก่อน

      You're welcome 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ th-cam.com/video/76E2QmjhRtQ/w-d-xo.html and WordPress Tutorial Playlist ⏩ th-cam.com/video/qt2BQt7uPbs/w-d-xo.html

  • @bangtanboys_7.
    @bangtanboys_7. 2 ปีที่แล้ว +1

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

  • @AdiBagathriya-xt1po
    @AdiBagathriya-xt1po หลายเดือนก่อน

    Thank you, I sole my problem

  • @lalalostyou6858
    @lalalostyou6858 ปีที่แล้ว +1

    TYSM ILYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

  • @reenaarif2300
    @reenaarif2300 หลายเดือนก่อน

    But my apache is not starting i tried many times .when i click on start it automatically starts and then stops itself

  • @NoTimeWaste1
    @NoTimeWaste1 2 ปีที่แล้ว

    Thanks bro!!

  • @mahesh_bambhaniya
    @mahesh_bambhaniya 2 ปีที่แล้ว +1

    Thanks 👍

  • @bhavanibysani6867
    @bhavanibysani6867 2 ปีที่แล้ว +1

    Thank you sir I got it

  • @pankajdoifode5342
    @pankajdoifode5342 ปีที่แล้ว

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

  • @thamizhmano7231
    @thamizhmano7231 ปีที่แล้ว

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

  • @yanisshop2238
    @yanisshop2238 2 ปีที่แล้ว +1

    Thank You Very Mush My Friend !
    Good Luck !

  • @nguyenvietkhoa1649
    @nguyenvietkhoa1649 3 ปีที่แล้ว +1

    tkanks, i successed

    • @GeekyScript
      @GeekyScript  3 ปีที่แล้ว

      Glad it was helpful!