How to run PHP in Visual Studio Code on Windows 10/11 [2024 Update] PHP Developers

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • Hello Everyone! Today in this video I am going to step by-step guide you on How to Run PHP in Visual Studio Code on Windows 10/11 [ 2024 Update ] VS Code and PHP for PHP Developers on Windows 10/11 OS.
    ► Subscribe to Geeky Script Vlog Channel: / @geekyscriptvlogs
    ► Subscribe to Geeky Syntax Channel: / @geekysyntax
    Get up to Free Hosting by using code "GEEKY" and you get 30% off for two months.
    👉 Link: platform.cloud...
    👉 Promo Code - GEEKY
    After that, I am also going to show you How to Create your First Hello World Program in PHP programming and then how to compile and run it.
    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.
    Now How to install Visual Studio Code?
    Step 1. First You need to download Visual Studio Code for Windows 10. For that just go to the following link:
    code.visualstu...
    This page will lead to the Visual Studio Code download page.
    Here find the exe setup installation file and click on it to download.
    Now after downloading Visual Studio Code save the file to the disk.
    Step 2. Install Visual Studio Code
    Double-click to run the Visual Studio Code installation file. Just follow the prompt as shown in the video ( • How to install Visual ... ) and install Visual Studio Code on your OS.
    What’s the Visual Studio Code?
    - Visual Studio Code is a free source-code editor made by Microsoft for Windows, Linux, and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git.
    Now it is time to install PHP:
    Step 3. First You need to go to the following PHP Official Site.
    www.php.net/do...
    This page will lead to the PHP official Site. Now here find VS16 x64 Thread Safe and download the zip file.
    Step 4. After downloading just extract the zip file on your Windows.
    Step 5. Now just copy and paste the extracted PHP folder to the Program Files of your c drive.
    Step 6. Now set the environment variable and there you go! Now just simply create a PHP file and write a hello world script.
    Step 7. Now open the Command Prompt and type:
    php nameOfYourPhpFile.php
    And there you go!!
    The instructions in this video tutorial can be applied to laptops, desktops, computers, and tablets that run the Windows 10 operating system 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.
    #VisualStudio #phpDevelopers #php #phptutorialforbeginners #Windows10 #Windows11
    Topics addressed in this tutorial:
    Best Test Editor: How to Install vs code in Windows 10, Windows
    how to setup vscode for PHP
    how to install Visual Studio
    ------------------------------------------------------------
    ► 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
    Affiliate Disclaimer: Some of the links above are affiliate (referral) links which means if you do click and purchase through them, then I may receive a commission. This helps support the free content on this channel.

КОМЕНТАРІ • 68

  • @GeekyScript
    @GeekyScript  7 місяців тому +4

    Did this tutorial help you to run PHP in Visual Studio Code?
    Comment Now!! And let me know your opinion...
    And Please SUBSCRIBE for more! Also, you can Support my work through UA-cam Thanks!

  • @iocallisto69
    @iocallisto69 2 місяці тому +2

    Thankyou so much. I've watched so many tutorials and none of them worked but this one.

    • @GeekyScript
      @GeekyScript  2 місяці тому

      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

  • @giogiogio987afria4
    @giogiogio987afria4 7 місяців тому +6

    Hey bro it shows me after run: can't recognize 'php'.... And cna you help me with this

    • @giogiogio987afria4
      @giogiogio987afria4 7 місяців тому +3

      Sorry sorry it just needed to restart program. Thanks a lot for this tutorial it's really helpfull

    • @GeekyScript
      @GeekyScript  7 місяців тому +1

      Great! :)
      Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @user-yp8sl1vw8g
    @user-yp8sl1vw8g 6 місяців тому +2

    It really worked bro, THANK YOU..
    Incase it doesn't work for y'all on first try make sure to relaunch vscode and try

    • @GeekyScript
      @GeekyScript  6 місяців тому

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

  • @Bautista_Janelle_
    @Bautista_Janelle_ 4 місяці тому +4

    in my case, until now my vs code won't run. I mean it's not working

  • @suvammagar5287
    @suvammagar5287 5 місяців тому +2

    i ammm sooo thankful to u mannn!!!!! i was searching videos! surfing and surfing finally ur video helped me

    • @GeekyScript
      @GeekyScript  5 місяців тому

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

  • @fernandoblanco1471
    @fernandoblanco1471 Місяць тому +1

    All the steps taken were so clear!

    • @GeekyScript
      @GeekyScript  Місяць тому

      Awesome! ❤❤ 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

  • @nobodynose9757
    @nobodynose9757 28 днів тому +1

    It doesn't work.... In my system

  • @KeraiyaPather
    @KeraiyaPather 3 місяці тому +1

    thank you so much for the quick and precise tutorial

    • @GeekyScript
      @GeekyScript  3 місяці тому

      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

  • @moisesantonio4335
    @moisesantonio4335 3 місяці тому +1

    Thank you, your video was the only one that managed to work

    • @GeekyScript
      @GeekyScript  3 місяці тому

      Glad I could help! 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

  • @ivanobrenic7821
    @ivanobrenic7821 Місяць тому +1

    The program does not display errors but does not display "Hello world". Help?

    • @GeekyScript
      @GeekyScript  28 днів тому

      have u created the file properly? u can share ur code.. I will try to help. u can send screenshot of ur issue at: instagram.com/geekyscript/

  • @fernandoblanco1471
    @fernandoblanco1471 Місяць тому +1

    Thanks a lot, excellent explanation!

    • @GeekyScript
      @GeekyScript  Місяць тому

      Thank you! ❤❤ 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

  • @g1Tron
    @g1Tron 2 місяці тому +1

    This was great. Thank you!

    • @GeekyScript
      @GeekyScript  2 місяці тому

      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

  • @mohanakarthigayan
    @mohanakarthigayan 12 днів тому

    It show me a php is not recognised as an internal or external command

  • @suvarnachavan1383
    @suvarnachavan1383 3 місяці тому +1

    thank you so much finally I did it to the help of you☺

    • @GeekyScript
      @GeekyScript  3 місяці тому

      Most 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

  • @dharshi.29
    @dharshi.29 28 днів тому +1

    Thank you so much bro

    • @GeekyScript
      @GeekyScript  28 днів тому

      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/

  • @lessergod172
    @lessergod172 7 місяців тому +2

    i have one question that has nothing to do with the video, im having an issue with my posts, i have 2 post for example one about cars and another one about cats, and both redirect me to the same article even if i have different urls for each

    • @GeekyScript
      @GeekyScript  7 місяців тому

      show me those 2 urls

    • @lessergod172
      @lessergod172 7 місяців тому

      @@GeekyScript i have the Page on localhost yet

    • @lessergod172
      @lessergod172 7 місяців тому

      I just deleted all the posts and when i create a new one it Still apears the icecream recipe....

  • @Monkey-iv1mv
    @Monkey-iv1mv 2 місяці тому +1

    U are the best man, thanks!

    • @GeekyScript
      @GeekyScript  2 місяці тому +1

      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

  • @EnigmaEcho.0
    @EnigmaEcho.0 5 місяців тому +1

    It really work👍..Thanks!!💫

    • @GeekyScript
      @GeekyScript  5 місяців тому

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

  • @Ss_stylez
    @Ss_stylez 3 місяці тому +1

    Thanks dude really helped me out

    • @GeekyScript
      @GeekyScript  3 місяці тому

      Glad I could help! 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

  • @user-fy3cy3zp6j
    @user-fy3cy3zp6j Місяць тому +1

    thans for helping me out.....🤩

    • @GeekyScript
      @GeekyScript  Місяць тому +1

      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

  • @Mikeyyyyy2004
    @Mikeyyyyy2004 Місяць тому

    Sir in my case it's telling me PHP executable not found Install PHP and add it to your path or set the php.debug.executablePath setting

  • @user-vn7er4bo5l
    @user-vn7er4bo5l 6 місяців тому +1

    It really worked bro, THANK YOU..

    • @GeekyScript
      @GeekyScript  6 місяців тому

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

  • @VadlakondaHasini412
    @VadlakondaHasini412 14 днів тому

    Very helpful

  • @avnisuiya1584
    @avnisuiya1584 5 місяців тому +1

    Thank you it's very helpful 😊

    • @GeekyScript
      @GeekyScript  5 місяців тому

      Glad it was helpful!! 😊 ❤
      Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @evolvez_ke
    @evolvez_ke 2 місяці тому +1

    Thanks bro it really helped

    • @GeekyScript
      @GeekyScript  2 місяці тому

      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

  • @tueurb5017
    @tueurb5017 3 дні тому

    Thank you bro

  • @Abdullah-og7jk
    @Abdullah-og7jk 2 місяці тому +1

    thank you keep going

    • @GeekyScript
      @GeekyScript  2 місяці тому

      Thank you, I will! 😊 ❤ 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

  • @akhilakrishna6253
    @akhilakrishna6253 4 місяці тому

    Can we get the basic outline of code. For eg: html code outline

  • @Den-kt6kj
    @Den-kt6kj 4 місяці тому +1

    thank you so much man

    • @GeekyScript
      @GeekyScript  4 місяці тому

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

  • @ThiagoFonseca-ti2ue
    @ThiagoFonseca-ti2ue 4 місяці тому +1

    Salvou demais mano. vlw

    • @GeekyScript
      @GeekyScript  4 місяці тому

      Most 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

  • @geraldsiazon4055
    @geraldsiazon4055 6 місяців тому +1

    Are the steps the same for the newer version of PHP 3.3.3? Thankyou

    • @GeekyScript
      @GeekyScript  6 місяців тому +1

      Yes.. absolutely..

    • @geraldsiazon4055
      @geraldsiazon4055 6 місяців тому +1

      Thankyou

    • @GeekyScript
      @GeekyScript  6 місяців тому

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

  • @renukareddy9467
    @renukareddy9467 2 місяці тому

    If we put PHP code but still it is not running what should we do

    • @GeekyScript
      @GeekyScript  2 місяці тому

      Is it showing any error msg?

  • @mohanakarthigayan
    @mohanakarthigayan 12 днів тому

    Sir I had a problem init.

  • @goodperson8265
    @goodperson8265 29 днів тому

    Relaunch vs code in case it doesn't work

  • @sudemalkoc9487
    @sudemalkoc9487 4 місяці тому

    ALLAH SENDEN RAZİ OLSUN 🎉❤

  • @khalifrageh8260
    @khalifrageh8260 6 місяців тому

    Laravel cashar ka soo diyaari.

  • @nobledictator2906
    @nobledictator2906 4 місяці тому

    in the command prompt it says it doesn't recognize it as a command, program or batch file