Visual Studio Code
安装php
插件后提示:
PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting
![Visual Studio(VS) Code提示php.executablePath配置问题-第0张图片](https://www.mlplus.net/wp-content/uploads/2021/01/20210107093243.png)
打开VS Code
设置查找到php.validate.executablePath
进行修改,其值是php
安装目录。
![Visual Studio(VS) Code提示php.executablePath配置问题-第1张图片](https://www.mlplus.net/wp-content/uploads/2021/01/phpvaidateexecutablepath.gif)
{
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"java.semanticHighlighting.enabled": true,
"php.validate.executablePath": "F:\\phpstudy_pro\\Extensions\\php\\php7.3.4nts"
}
![Visual Studio(VS) Code提示php.executablePath配置问题-第2张图片](https://www.mlplus.net/wp-content/uploads/2021/01/20210107093445-1024x295.png)
![Visual Studio(VS) Code提示php.executablePath配置问题-第3张图片](https://www.mlplus.net/wp-content/uploads/2021/01/20210107093515-1024x355.png)
转载请注明:清风亦平凡 » Visual Studio(VS) Code提示php.executablePath配置问题