PHP in Visual Studio Code: Your first PHP project

Sdílet
Vložit
  • čas přidán 8. 09. 2024
  • We will begin with creating the first PHP project in Visual Studio Code.
    You first need to create a folder inside the htdocs folder of XAMPP installation, then you create your index.php file.
    To demonstrate the php code, we will call the phpinfo() function, then we'll print a simle "Hello there" string and load the .php pages in the web browser using Apache server of the XAMPP package.
    Leave your question in the section below.
    Thanks for watching!
    ~-~~-~~~-~~-~
    Please watch: "Tutorial - How to Create an Old Film Look Effect in DaVinci Resolve 16"
    • Tutorial - How to Crea...
    ~-~~-~~~-~~-~
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------
    *Please note that this link is an affiliate link, and at no additional cost to you, I will earn a commission if you make a purchase after clicking it!

Komentáře • 160

  • @TechVideoStack
    @TechVideoStack  Před 4 lety +5

    Check more PHP tutorials in this playlist: czcams.com/play/PLrVlNmJhrkfraXsxahjpr4vXD9Lv_56oZ.html

  • @anesumugiya1534
    @anesumugiya1534 Před 4 lety +10

    Thank you!!! I’ve never felt as much frustration as I had when it wasn’t working!!! You helped me a great deal.

    • @TechVideoStack
      @TechVideoStack  Před 4 lety

      Niice! I am very glad it helped! Thanks for watching it!

  • @aimless3827
    @aimless3827 Před 2 lety +2

    LOL, I got to do the test in 3 day and I don't have a clue how to set this thing up, now I do. LOVE YOU MA MAN!!

    • @TechVideoStack
      @TechVideoStack  Před 2 lety

      Glad my video helped you! Thanks for watching it 😊

  • @saimadeit
    @saimadeit Před 3 lety +10

    quite literally saved my life thankyou for taking the time to make this shit. my gpa depended on it 😭

    • @TechVideoStack
      @TechVideoStack  Před 3 lety

      I am glad it helped you! Thanks for watching it 🙂

  • @rarebelladlawan4333
    @rarebelladlawan4333 Před 2 lety +1

    thank you bruh!!! God bless you

  • @XxMrBryanxX
    @XxMrBryanxX Před 4 lety +6

    thank you so much!! i was so frustrated, i wish your video showed up at the top

    • @TechVideoStack
      @TechVideoStack  Před 4 lety

      I am happy it helped you! Thanks for watching 🙂

  • @temiladeadeniran7811
    @temiladeadeniran7811 Před rokem

    Wow … it worked for me 🥺… I feel so fulfilled right now … thank you so much 😩😩😩😩😩😩😩😩😩😩… I hope you have more videos on this because I’d like to just learn all about PhP with your tutorials …. That’s how good you are with your explanations 😮‍💨💕

  • @adrianvillanueva3639
    @adrianvillanueva3639 Před 2 lety

    Nice so helpful. Thanks ma niGaah

  • @theimproooooooover
    @theimproooooooover Před 3 lety +7

    Literally exactly what I was looking for. Thank you!

    • @TechVideoStack
      @TechVideoStack  Před 3 lety

      I am happy, I was able to help! Thanks for watching!

  • @jeffreycruz3743
    @jeffreycruz3743 Před 2 lety +1

    thankyou so much.😀

  • @SaadAli-vv9er
    @SaadAli-vv9er Před 3 lety +1

    nice sir

  • @TheBelugawhale27
    @TheBelugawhale27 Před 2 lety +1

    Thank you.

  • @muhammadtayyabmanzoor6336

    Hi Man!
    GOD Bless you in Every field of life.
    Thank you !

    • @TechVideoStack
      @TechVideoStack  Před 3 lety +1

      So nice of you! May God bless you too my friend. Thanks for watching and commenting!

  • @abdch091
    @abdch091 Před rokem +1

    Thanks 🥰

  • @daniellekaunda6952
    @daniellekaunda6952 Před rokem +1

    thank you 😁😁😁😁😁 finally

  • @jupitergreen9349
    @jupitergreen9349 Před 2 lety +1

    Thank you so much! I had 0 frustration here!!

  • @namphydiana9308
    @namphydiana9308 Před 3 lety

    Thank you, thank you,thaank youuuu !

    • @TechVideoStack
      @TechVideoStack  Před 3 lety

      You're welcome! Thank you for watching the video!

  • @mohamedghaithmajjani8553
    @mohamedghaithmajjani8553 Před 3 lety +2

    Straight to the point. Thanks

  • @supporteurs2838
    @supporteurs2838 Před 2 lety +1

    thank you

  • @rekan_98
    @rekan_98 Před 2 lety +1

    You saved me ! Thank you so much that was what I looking for earned my Subscription.

  • @ezriouil
    @ezriouil Před 2 lety +1

    thanks bro

  • @numb6455
    @numb6455 Před 3 lety +1

    ty man!

  • @abc6576
    @abc6576 Před 4 lety +1

    Thank you so much for this video.....
    .👍

  • @ghizlane9118
    @ghizlane9118 Před 4 lety +1

    Thank uuu soo muuuch for ur explanation 😊 u save my life

  • @learnwithalfred
    @learnwithalfred Před 4 lety +1

    This is a perfect fix for me. I love u dude!!!!!!!!!!!!!!!!!!!!!!

  • @nagarajat1995
    @nagarajat1995 Před 3 lety +1

    thanks ......
    this way works very well...

    • @TechVideoStack
      @TechVideoStack  Před 3 lety

      You're welcome! Thanks for watching it! Take care !

  • @user-nb3ty7dj1k
    @user-nb3ty7dj1k Před 3 lety +2

    Merci

  • @cutebugger
    @cutebugger Před 2 lety +1

    Thank you! really helpful!

  • @americanmade4239
    @americanmade4239 Před 3 lety +1

    Thank you! Straight Forward and Clear Video!

  • @Void-js1bx
    @Void-js1bx Před 3 lety +1

    ty bro

  • @yashpatil8228
    @yashpatil8228 Před 3 lety +1

    God bless you my brother ❤️🙏

  • @tec-dave7876
    @tec-dave7876 Před 3 lety +1

    thanks man Nice work..

  • @cryptogalaxy1715
    @cryptogalaxy1715 Před 3 lety +1

    You are my hero!!!!

  • @Osuran_Bogaa
    @Osuran_Bogaa Před 3 lety +1

    THank you :) Teşekkür ederim :)

  • @hostelvlogs918
    @hostelvlogs918 Před 3 lety

    Literally I was searching that
    Thanks so much ❤️❤️❤️

    • @TechVideoStack
      @TechVideoStack  Před 3 lety

      Glad I could help! Thanks for watching the video!

  • @MiguelAtienzar
    @MiguelAtienzar Před 3 lety +1

    Thank you very much!!!

  • @Z_great
    @Z_great Před 2 lety

    Ymechk abo!!

  • @justinepasion8600
    @justinepasion8600 Před 3 lety +1

    thankss

  • @nothingserious3402
    @nothingserious3402 Před 3 lety +1

    You are so helpful, thank you very much!

  • @lethanhat4378
    @lethanhat4378 Před 2 lety

    this video helps me so much haha... tks for making this video

  • @arselzhanybekkyzy301
    @arselzhanybekkyzy301 Před 4 lety +1

    Thank you very much!
    It was really useful👍

  • @armelmahunan851
    @armelmahunan851 Před 4 lety +1

    Thank you so much.

  • @anonymous9944
    @anonymous9944 Před 3 lety +1

    Thanks so much

  • @asyraf_jamal
    @asyraf_jamal Před 3 lety +1

    Thank youuuuu!

  • @iswaryaherself5012
    @iswaryaherself5012 Před 3 lety +1

    Thank you 😊

  • @arwinderkaur2567
    @arwinderkaur2567 Před 3 lety +1

    Thanks brother 🙏🙏

  • @huuhungnguyen6304
    @huuhungnguyen6304 Před 3 lety +1

    thank you sir

  • @0z25y
    @0z25y Před 4 lety +1

    I am so thankful. luv ya.

  • @surajjadhav387
    @surajjadhav387 Před 4 lety +1

    Thank you bro

  • @mansidara7427
    @mansidara7427 Před 4 lety +1

    amazing

  • @yiluliang6104
    @yiluliang6104 Před 4 lety +3

    Thank u! But I have a ERR_CONNECTION_RESET when I try to open the index.php in Chrome

    • @TechVideoStack
      @TechVideoStack  Před 4 lety

      Make sure that your XAMPP is installed and it is up and running! I have XAMPP video list that shows you how to install and run XAMPP! Let me know if you fixed the error ... thanks!

  • @memelit4182
    @memelit4182 Před 3 lety +1

    THANK YOU

  • @kimberlyvillarmente8239
    @kimberlyvillarmente8239 Před 4 lety +1

    thank you so much :)

  • @mohammadhosseinrasolkhani1918

    love u bro

  • @Heshvitha
    @Heshvitha Před 4 lety +2

    Could be please explain how to connect with xampp. xampp which is completely not clear in this video

    • @TechVideoStack
      @TechVideoStack  Před 4 lety

      XAMPP is explained in other videos and a playlist. You can find that here: bit.ly/2mhZJgM.
      I don't include XAMPP here, because I wanted to make the video shorter!

  • @honeymaddigunta1525
    @honeymaddigunta1525 Před 2 lety

    my visual code is not opening this way it directly showing me options to create a project how can i do this now

  • @SPereJ
    @SPereJ Před 3 lety

    Thank you very much.! But I'm getting below error when creating hello world code. I need help please.!
    End of line character is invalid; expected "
    " but found "
    "PHPCS(Generic.Files.LineEndings.InvalidEOLChar)

  • @ccandido-ti43
    @ccandido-ti43 Před 2 lety +1

    hi, please change video title, how to create a page in PHP, that's what you did.

  • @crypto-mediaafrica2147
    @crypto-mediaafrica2147 Před 2 lety +1

    Please zoom, I can’t even see what you are doing until you zoomed it
    Else I have to watch it over n over again

  • @ctechstudio
    @ctechstudio Před 4 lety +1

    Hey I get error : PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting

    • @TechVideoStack
      @TechVideoStack  Před 4 lety

      I have a video that shows the solution to it. Check my "PHP in Visual Studio Code: Setup Debugging" video, where in the beginning of it I show how to fix the error you are receiving. Let me know if you have any other qustion!

    • @omkar056
      @omkar056 Před 4 lety +2

      Right-click on your "this Pc"> then click properties > Advance system settings > environment variables > double click on path > New (and paste the path of you php.exe, which you can find in your php folder inside your xampp or wamp folder in c drive. Eg. "C:/xampp/php/php.exe" ) I think the issue will be solved

  • @gtry-bq5mw
    @gtry-bq5mw Před 3 lety +1

    what will happen if i put this project on github? should i also put that xampp folder?

    • @TechVideoStack
      @TechVideoStack  Před 3 lety

      I don't believe you'd have to. Github should be completely different environment and should have its own set of implementation rules. Unfortunately I don't have any tutorial on that.

  • @vaishnaviraut231
    @vaishnaviraut231 Před 3 lety

    Tomorrow is my project and I got some error can you please help me

  • @sbg8037
    @sbg8037 Před 4 lety +1

    Hey please please reply, Can I use wamp instead of xampp. installation taking forever for xampp

  • @4orth-dimensionalamansagar349

    Now there is php server extension in VS extensions

  • @user-zj1gy1pu5e
    @user-zj1gy1pu5e Před 2 lety +1

    I hope i understand it

  • @kha4667
    @kha4667 Před 4 lety +1

    4:29 my google and firefox still say that the connection in this site isnt secure, what should i do?

    • @TechVideoStack
      @TechVideoStack  Před 4 lety

      I think Chrome and Firefox consider any HTTP connection to be not secure, as they require HTTPS (SSL). But, since you are testing on localhost and you know there is nothing to be afraid of, you can just ignore that warning!

    • @kha4667
      @kha4667 Před 4 lety +1

      @@TechVideoStack na i mean, because of that i cant get into the site

    • @TechVideoStack
      @TechVideoStack  Před 4 lety +1

      @@kha4667 then maybe you'll need to add that url to your trusted sites list in those browsers

  • @wesleysandifer6157
    @wesleysandifer6157 Před 4 lety +1

    I get a pop up. Fire fox doesn't know what to do with it.

    • @TechVideoStack
      @TechVideoStack  Před 4 lety

      Is your XAMPP server up and running?

    • @wesleysandifer6157
      @wesleysandifer6157 Před 4 lety +1

      @@TechVideoStack Yes it's running. I even got a shortcut on my desktop to get to it real easy. I think it has something to do with root folder and getting vscode to target it. I like to see exactly how the jsquery is suppose to look like in vscode. When ever I run code it gives me a split screen with the results at the bottom with no errors but no way to see it in browser. uhg. I'm puttling my hair out. Thanks btw for responding

  • @electrocatalyst
    @electrocatalyst Před 4 lety +5

    I appreciate the information but man, you sound like you were forced to make this video as punishment.

    • @TechVideoStack
      @TechVideoStack  Před 4 lety

      No problem, thanks for watching! I wasn't aware of that in the beginning, but I am now and the latest videos sound better. I had to get another microphone though!

    • @temiladeadeniran7811
      @temiladeadeniran7811 Před rokem

      Lol exactly… I didn’t expect I’d figure it out too with the way he spoke 😂… I’ve watched so many tutorials on this but still couldn’t figure it out till I watched his … it’s crazy man 😂…. Love the way he explained in a very relaxed way … 😮‍💨😮‍💨

  • @venu5416
    @venu5416 Před 4 lety +1

    good job sir.....
    i can't repay your help

  • @realjuliuspgkc9224
    @realjuliuspgkc9224 Před 4 lety +1

    what extension do i need?

  • @MaxMeinz
    @MaxMeinz Před 4 lety +3

    there is no xampp

    • @TechVideoStack
      @TechVideoStack  Před 4 lety

      You have to install XAMPP first! Have you installed it?

    • @MaxMeinz
      @MaxMeinz Před 4 lety

      @@TechVideoStack thx

  • @sayuogiwara632
    @sayuogiwara632 Před 2 lety +1

  • @gyroxaver6897
    @gyroxaver6897 Před 4 lety +2

    You lost me as soon as you said XAMPP

    • @TechVideoStack
      @TechVideoStack  Před 4 lety +1

      You can watch my XAMPP playlist, to get back in the track. I could not include all in one video, because I want the videos to be shorter

  • @remixowlz
    @remixowlz Před 2 lety

    this dude sounds so depressed

  • @filippo85betti
    @filippo85betti Před 2 lety

    jesus christ. was this dude talking in his sleep during the making of this video or what? it's extremely hard to listen

    • @TechVideoStack
      @TechVideoStack  Před 2 lety

      Ok, thanks for your comment, I'll try to improve in the future videos!

  • @aatikaati1038
    @aatikaati1038 Před 3 lety

    Thank you

  • @VishnuMp112
    @VishnuMp112 Před 4 lety +2

    Thanks 😊

  • @ranivictoria448
    @ranivictoria448 Před 4 lety +1

    thank you