vs code 设置php.validate.executablePath

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

vs code 设置php.validate.executablePath

解决方法很简单:

vs code 设置php.validate.executablePath
1:直接点击“信息”提示左边的“settings.json”或者“文件”->“设置”打开settings.json设置文件。

2:从左边设置项定位到“PHP”,然后找到“php.validate.executablePath(PHP可执行文件地址)”,然后,把后面的地址换成你的php执行文件的地址。
vs code 设置php.validate.executablePath

vs code 设置php.validate.executablePath

vs code 设置php.validate.executablePath