Visual Studio Code
安装php
插件后提示:
PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting

打开VS Code
设置查找到php.validate.executablePath
进行修改,其值是php
安装目录。

{
"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配置问题