How to run PHP in Visual Studio Code on Windows 10/11 [2024 Update] PHP Developers
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.cloudways.com/signup...
👉 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.buymeacoffee.com/geekyscript
✻ 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.visualstudio.com/
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/downloads.php
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
✻ KZread 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.
Пікірлер: 48
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 KZread Thanks!
i ammm sooo thankful to u mannn!!!!! i was searching videos! surfing and surfing finally ur video helped me
@GeekyScript
3 ай бұрын
Glad I could help! 😊 ❤ Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
Thankyou so much. I've watched so many tutorials and none of them worked but this one.
@GeekyScript
24 күн бұрын
Glad it helped! ❤ Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
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
4 ай бұрын
yea good suggestion :) You're welcome! Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
Can we get the basic outline of code. For eg: html code outline
Thank you, your video was the only one that managed to work
@GeekyScript
Ай бұрын
Glad I could help! Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
in my case, until now my vs code won't run. I mean it's not working
It really worked bro, THANK YOU..
@GeekyScript
4 ай бұрын
You're welcome! Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
thank you so much for the quick and precise tutorial
@GeekyScript
Ай бұрын
Glad it was helpful!! ❤ Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
If we put PHP code but still it is not running what should we do
in the command prompt it says it doesn't recognize it as a command, program or batch file
It really work👍..Thanks!!💫
@GeekyScript
3 ай бұрын
You're welcome! 😊 ❤ Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
Thank you it's very helpful 😊
@GeekyScript
3 ай бұрын
Glad it was helpful!! 😊 ❤ Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
U are the best man, thanks!
@GeekyScript
8 күн бұрын
You're welcome! ❤ Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
thank you so much finally I did it to the help of you☺
@GeekyScript
Ай бұрын
Most Welcome!! ❤ Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
Thanks dude really helped me out
@GeekyScript
Ай бұрын
Glad I could help! Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
Thanks bro it really helped
@GeekyScript
24 күн бұрын
Welcome!! ❤ Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
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
5 ай бұрын
show me those 2 urls
@lessergod172
5 ай бұрын
@@GeekyScript i have the Page on localhost yet
@lessergod172
5 ай бұрын
I just deleted all the posts and when i create a new one it Still apears the icecream recipe....
thank you keep going
@GeekyScript
Күн бұрын
Thank you, I will! 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
thank you so much man
@GeekyScript
2 ай бұрын
Happy to help!! 😊 ❤ Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
Are the steps the same for the newer version of PHP 3.3.3? Thankyou
@GeekyScript
4 ай бұрын
Yes.. absolutely..
@geraldsiazon4055
4 ай бұрын
Thankyou
@GeekyScript
4 ай бұрын
You're welcome! Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
Salvou demais mano. vlw
@GeekyScript
Ай бұрын
Most welcome! Also, watch Complete ECommerce tutorial ⏩ kzread.info/dash/bejne/aWp5lLOmmsu4pLQ.html and WordPress Tutorial Playlist ⏩ kzread.info/dash/bejne/o6hmpLOtZ9i2ktY.html
Hey bro it shows me after run: can't recognize 'php'.... And cna you help me with this
@giogiogio987afria4
4 ай бұрын
Sorry sorry it just needed to restart program. Thanks a lot for this tutorial it's really helpfull
@GeekyScript
4 ай бұрын
Great! :) Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and www.youtube.com/@GeekyScriptVlogs/
ALLAH SENDEN RAZİ OLSUN 🎉❤
Laravel cashar ka soo diyaari.