How to Run PHP using Visaul Studio Code with Xampp - [ VS Code 2023 PHP Setup ]

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello guys welcome to my Channel today in this video tutorial we will learn how to run PHP in Visual Studio code with Zam so let's start so for this we need two extensions one is PHP intell defense and the second one is PHP server so we'll go to this extension Tab and here I'll search bar in delete pins and it is this first one and if we go down here the installation method is given so I'll go to extensions and search for this disable PHP features leave language Basics so I'll copy this and I will search it in this extensions and it will search as we will disable this PC language feature so I'll disable this now we will remove this and we will again sorry for PHP until it ends this one and I'll install this now it is installed so I'll close this and I'll search for HP server so this first one and I will install this now both PHP server and VPN television install so I'll close this and I will close these extensions as well I will open File Explorer I will add in a new file so I'll name this index dot PHP and hit enter now we have created our index.php file so now we will go to this index.html file and copy this code from here and we will paste it right here now here I'll give H1 tag and this is PHP demo close this H1 tag here I will open mphpdx or PHP and here follows the PPT inside this I can write my PHP code so here I will write Echo hello to everyone from PHP and all control as this now I'll right click on this PHP server server project so if I click on this so it is saying us that PHP not found it is giving us this error so I already installed Zam server but we haven't set the path of each P if I come here this PC and to C and same and to PHP and I will copy this path and I will set this path in environment variable so I'll close this now if I come here and search for environment variable so I'll click on this environment variables under this system variables we will come to this path and edit this now I'll add A New Path and I will control with this now I'll click OK click OK click OK again now if I again run this project servers or project so it will again show me the speech pin around error why because we haven't reloaded with Studio code and it has it has not taken the power loaded the path so I'll close this and I will relaunch this so now it is open so if I maximize this now this is our file index.php now if I right click on this and again PP servers or project so I'll click my browser always and now you can see this is PHP demo and hello to everyone from PHP is printed yeah so in this way you can run a PHP in Visual Studio code or you can set up VPN Visual Studio code I think that's all for today I hope you like the video if you like the video please like subscribe and comment thank you
Info
Channel: Programming Guru
Views: 42,089
Rating: undefined out of 5
Keywords: how to run php using visual studio code 2023, run php script in vscode, running php in vscode, Run php in visual studio code, php visual studio code, vscode and php, run php in visual studio code, php vscode example, php and visual studio code, how to run php in visual studio code, php vscode, how to install php in visual studio code, php in vscode, how to use php in visual studio code, php and vscode demo, php tutorial with vscode, php, vs code, vscode, Visual studio code 2022
Id: Qe5Z_TO-X0s
Channel Id: undefined
Length: 3min 11sec (191 seconds)
Published: Sat Sep 23 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.