The proper way to use php in vscode is to setup xampp server on your system. Once you install and setup XAMPP you will have all the features of a dedicated webserver at your fingertips. Timestamps below.
00:00 - Introduction
01:36 - Installation
03:31 - "Run as Admin" Trick
04:42 - Set Ports
05:14 - Edit httpd.conf
06:51 - Edit httpd-ssl.conf
08:01 - Running Apache
08:36 - How to Use XAMPP
10:02 - Using VSCode with XAMPP
On this page of the site you can watch the video online PHP in VSCode using XAMPP with a duration of hours minute second in good quality, which was uploaded by the user Chriserino Coding 21 April 2021, share the link with friends and acquaintances, this video has already been watched 58,605 times on youtube and it was liked by 696 viewers. Enjoy your viewing!