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

preview_player
Показать описание
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.

Get up to Free Hosting by using code "GEEKY" and you get 30% off for two months.
👉 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 —

✻ 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:
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

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.
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:
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:

► Recommended Laptops (35k Range):

► Laptops 50k Range:

► Rode Wireless Mike:

MY RELATED VIDEOS:

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:

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 YouTube Thanks!

GeekyScript
Автор

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

iocallisto
Автор

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

Bautista_Janelle_
Автор

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

giogiogioafria
Автор

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

ypslvwg
Автор

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

suvammagar
Автор

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

moisesantonio
Автор

thank you so much for the quick and precise tutorial

KeraiyaPather
Автор

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

suvarnachavan
Автор

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

ivanobrenic
Автор

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

lessergod
Автор

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

nobledictator
Автор

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

Mikeyyyyy
Автор

Relaunch vs code in case it doesn't work

goodperson
Автор

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

geraldsiazon
Автор

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

akhilakrishna
Автор

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

renukareddy
visit shbcf.ru