版权声明: https://blog.csdn.net/qq_36801966/article/details/78133860
在使用vscode的时候经常在打开php页面的时候回有一个错误提示,“无法验证,因为未设置任何php可执行文件,请使用设置“php.validate.executablePath”配置php可执行文件。
或者还会跳出一个提示语“cannot validate the php file. the php program was not found. use the ‘php.validate.executablePaht’ setting to configure the location of php”
解决方案:
在菜单栏依次打开:文件->首选项->设置(用户设置)
在中间的 默认设置 搜索php.validate.executablePath
然后把这里的null设置成你本地的php.exe的地址,然后保存。
ok,然后问题解决了,
继续搬砖把!!!