提示”php.validate.executablePath”来配置PHP可执行文件。

信息”提示:无法使用PHP可执行的设置。设置php.validate.executablePath配置PHP可执行文件。
vscode-executablePath-1.png

点击“信息”提示左边的“settings.json”或者“文件”->“设置”打开settings.json设置文件。
vscode-executablePath-2.png
vscode-executablePath-3.png

找到 php.validate.executablePath
vscode-executablePath-4.png
vscode-executablePath-5.png

转自https://blog.csdn.net/qikexun/article/details/112570467