The language server needs at least PHP 7.1 installed. Version found: 7.0.10

解决方案:

打开VS Code 文件 -> 首选项 -> 设置 -> 在 settings.json 中编辑

在 settings.json 中,加入:

"php.executablePath": "E:/wamp64/bin/php/php7.0.10/php.exe",
"php.validate.executablePath": "E:/wamp64/bin/php/php7.0.10/php.exe"

 

posted @ 2021-06-08 16:22  胸怀丶若谷  阅读(1433)  评论(0编辑  收藏  举报