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.
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!
Thankyou so much. I've watched so many tutorials and none of them worked but this one.
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
Hey bro it shows me after run: can't recognize 'php'.... And cna you help me with this
Sorry sorry it just needed to restart program. Thanks a lot for this tutorial it's really helpfull
Great! :)
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
It really worked bro, THANK YOU..
Incase it doesn't work for y'all on first try make sure to relaunch vscode and try
yea good suggestion :) You're welcome!
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
in my case, until now my vs code won't run. I mean it's not working
i ammm sooo thankful to u mannn!!!!! i was searching videos! surfing and surfing finally ur video helped me
Glad I could help! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
All the steps taken were so clear!
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
It doesn't work.... In my system
thank you so much for the quick and precise tutorial
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
Thank you, your video was the only one that managed to work
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
The program does not display errors but does not display "Hello world". Help?
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/
Thanks a lot, excellent explanation!
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
This was great. Thank you!
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
It show me a php is not recognised as an internal or external command
thank you so much finally I did it to the help of you☺
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
Thank you so much bro
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/
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
show me those 2 urls
@@GeekyScript i have the Page on localhost yet
I just deleted all the posts and when i create a new one it Still apears the icecream recipe....
U are the best man, thanks!
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
It really work👍..Thanks!!💫
You're welcome! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Thanks dude really helped me out
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
thans for helping me out.....🤩
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
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
It really worked bro, THANK YOU..
You're welcome!
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Very helpful
Thank you it's very helpful 😊
Glad it was helpful!! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Thanks bro it really helped
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
Thank you bro
thank you keep going
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
Can we get the basic outline of code. For eg: html code outline
thank you so much man
Happy to help!! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Salvou demais mano. vlw
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
Are the steps the same for the newer version of PHP 3.3.3? Thankyou
Yes.. absolutely..
Thankyou
You're welcome!
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
If we put PHP code but still it is not running what should we do
Is it showing any error msg?
Sir I had a problem init.
Relaunch vs code in case it doesn't work
ALLAH SENDEN RAZİ OLSUN 🎉❤
Laravel cashar ka soo diyaari.
in the command prompt it says it doesn't recognize it as a command, program or batch file