Locate the PHP program in the XAMMP folder: "C:/xampp/php/php.exe" In VSCode go to File, then preferences, then settings Go to PHP and along the top there will be a link to a Json file Paste the path ...