PHP in Visual Studio Code: Your first PHP project
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!
Check more PHP tutorials in this playlist: czcams.com/play/PLrVlNmJhrkfraXsxahjpr4vXD9Lv_56oZ.html
Thank you!!! I’ve never felt as much frustration as I had when it wasn’t working!!! You helped me a great deal.
Niice! I am very glad it helped! Thanks for watching it!
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!!
Glad my video helped you! Thanks for watching it 😊
quite literally saved my life thankyou for taking the time to make this shit. my gpa depended on it 😭
I am glad it helped you! Thanks for watching it 🙂
thank you bruh!!! God bless you
Thanks for watching it!
thank you so much!! i was so frustrated, i wish your video showed up at the top
I am happy it helped you! Thanks for watching 🙂
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 😮💨💕
Thanks for watching it ☺️
Nice so helpful. Thanks ma niGaah
Thanks for watching it!
Literally exactly what I was looking for. Thank you!
I am happy, I was able to help! Thanks for watching!
thankyou so much.😀
Thanks for watching it 🙃
nice sir
Thanks!
Thank you.
Thanks for watching it!
Hi Man!
GOD Bless you in Every field of life.
Thank you !
So nice of you! May God bless you too my friend. Thanks for watching and commenting!
Thanks 🥰
Thanks for watching it ☺️
thank you 😁😁😁😁😁 finally
Thanks for watching it ☺️
Thank you so much! I had 0 frustration here!!
Thanks for watching it 🙂
Thank you, thank you,thaank youuuu !
You're welcome! Thank you for watching the video!
Straight to the point. Thanks
Thanks for watching the video!
Best comment so far
thank you
Thanks for watching it :)
You saved me ! Thank you so much that was what I looking for earned my Subscription.
Wow, nice ... thanks for watching it 😊
thanks bro
Thanks for watching it!
ty man!
Thanks for watching!
Thank you so much for this video.....
.👍
Thanks for watching it!
Thank uuu soo muuuch for ur explanation 😊 u save my life
You're welcome 😊
This is a perfect fix for me. I love u dude!!!!!!!!!!!!!!!!!!!!!!
Glad it helped! Thanks for watching!
thanks ......
this way works very well...
You're welcome! Thanks for watching it! Take care !
Merci
Thanks for watching it!
@@TechVideoStack you are welcome ❤️🌹❤️
Thank you! really helpful!
Thanks for watching it!
Thank you! Straight Forward and Clear Video!
Thanks for watching it!
ty bro
Thanks for watching bro!
God bless you my brother ❤️🙏
Thanks for watching the video! Take care!
thanks man Nice work..
Thanks for watching it!
You are my hero!!!!
Thanks for watching the video!
THank you :) Teşekkür ederim :)
Thanks for watching the video!
Literally I was searching that
Thanks so much ❤️❤️❤️
Glad I could help! Thanks for watching the video!
Thank you very much!!!
Thanks for watching!
Ymechk abo!!
❓
thankss
Thanks for watching it!
You are so helpful, thank you very much!
Thank you for watching!
this video helps me so much haha... tks for making this video
Thanks for watching it!
Thank you very much!
It was really useful👍
Thank you for watching it !
Thank you so much.
Thanks for watching friend 😊
Thanks so much
Thanks for watching!
Thank youuuuu!
Thank for watching it!
Thank you 😊
You're welcome 😊 .. Thanks for watching!
Thanks brother 🙏🙏
You are welcome! Thanks for watching!
thank you sir
Most welcome! Thanks for watching it!
I am so thankful. luv ya.
Thanks for watching!
Thank you bro
You are welcome!
amazing
Thank you!
Thank u! But I have a ERR_CONNECTION_RESET when I try to open the index.php in Chrome
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!
THANK YOU
Thanks for watching it!
thank you so much :)
Thanks for watching!
love u bro
Thanks for watching the video bro! Take care!
Could be please explain how to connect with xampp. xampp which is completely not clear in this video
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!
my visual code is not opening this way it directly showing me options to create a project how can i do this now
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)
hi, please change video title, how to create a page in PHP, that's what you did.
👍
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
I feel sorry for that, thanks for the advice
Hey I get error : PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting
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!
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
what will happen if i put this project on github? should i also put that xampp folder?
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.
Tomorrow is my project and I got some error can you please help me
Hey please please reply, Can I use wamp instead of xampp. installation taking forever for xampp
Yes, you can use it! It should work the same!
Now there is php server extension in VS extensions
What extension specifically?
I hope i understand it
Why wouldn't you 🤔
4:29 my google and firefox still say that the connection in this site isnt secure, what should i do?
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!
@@TechVideoStack na i mean, because of that i cant get into the site
@@kha4667 then maybe you'll need to add that url to your trusted sites list in those browsers
I get a pop up. Fire fox doesn't know what to do with it.
Is your XAMPP server up and running?
@@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
I appreciate the information but man, you sound like you were forced to make this video as punishment.
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!
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 … 😮💨😮💨
good job sir.....
i can't repay your help
Nice! Thanks for watching 🙂
what extension do i need?
No extension is required!
there is no xampp
You have to install XAMPP first! Have you installed it?
@@TechVideoStack thx
😊
You lost me as soon as you said XAMPP
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
this dude sounds so depressed
jesus christ. was this dude talking in his sleep during the making of this video or what? it's extremely hard to listen
Ok, thanks for your comment, I'll try to improve in the future videos!
Thank you
Thanks for watching!
Thanks 😊
Thanks for watching!
thank you
You're welcome! Thanks for watching!