2017-05-25 79 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