How to config and run PHP on vscode live server | PHP Programming with Visual Studio Code in Linux

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome to this channel subscribe to this channel to get more tutorials this is a complete tutorial here you will get learn how to install php on ubuntu or linux how to configure vs code for php programming and how to run php script on visual studio code and so on by following its official documentation let's get started for linux user open terminal and check whether vhp install or not on your system with this command php hyphen hyphen version if you don't have installed it on your system you will find a command and then use this command to install vhp okay now open another terminal and create a directory with this command and navigate to this directory by cd now open this directory in visual studio code by this command code space dot and then hit enter or you can directly open this directory from visual studio code go to file then open folder now open php project directory okay now open web browser and go to visual studio code official documentation and select the topic php visual studio code is a great editor for php development now go to settings and search for php and then select php now enable php suggest basic and php validate enable and then click on edit in settings.json to set the php executable path now go to terminal and type this command where it is php copy this line and paste here okay now save this file and select on save on php validate run okay now create a new file inside php project name it index dot php and write a simple php script here okay save this file now install php extension support by visual studio code install php intellifence okay and also install php server okay now you can run php script from visual studio code directly okay now right click on your php file and then click on php server server project and you will see a message hello world visual studio code includes a set of common snipes for php to access this hit control plus space to get a context specific list okay okay now reload this script okay you will find here four commands serving project command reloading server command and open file in browser command and stop server command server stopped it now reload and you will see unable to connect if you like this video like comment and share thank you so much for watching this video
Info
Channel: TechWebDocs
Views: 33,524
Rating: undefined out of 5
Keywords: How to config and run PHP on vscode live server | PHP Programming with Visual Studio Code in Linux, config and run PHP on vscode, PHP with Visual Studio Code in Linux, PHP on vscode live server, PHP, vscode, php live server vscode, config and run PHP on vscode live server, How to run PHP live server?, PHP on Ubuntu with vscode, How to configure vscode for PHP, how to run php in visual studio code, php, visual studio code, run php, vs code, vscode php setup, install php on vscode
Id: xErcf1uJdIo
Channel Id: undefined
Length: 8min 11sec (491 seconds)
Published: Fri Jan 07 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.