您的位置:首页 > 编程语言 > PHP开发

Visual Studio Code 提示"use the 'php.validate.executablePath'setting to configure the location of 'php

2017-09-29 14:58 543 查看
在使用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,然后问题解决了,

继续搬砖把!!!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  IDE 配置 visual studio php
相关文章推荐