2017-05-25 47 views

回答

1

检查您的配置文件(F1 +的配置,并选择设置JSON )并搜索:

"php.validate.executablePath": null, 

我有同样的错误,这是因为我已经指向了错误的文件:

"php.validate.executablePath": "C:\\xampp\\php\\php.ini" 

它必须指向(对我来说):

"php.validate.executablePath": "C:\\xampp\\php\\php.exe", 

example