Local Community

VS Code PHP Validation Switcher


Since we are able to change the PHP version in Local, it would be nice if there is a way to switch the PHP validation in VS Code for the project when that happens. This is as simple as updating the php.validate.executablePath to the same as the one in the updated PHP that the website in Local is running.

Feature Request

Make the PATH easily copyable with some quick instructions so that developers can update the php.validate.executablePath in settings.json for the workspace.


This makes upgrading WordPress Projects from PHP 7 to PHP 8 much easier. I can see what doesn’t validate in VS Code once I change the engine in local.