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可执行文件。
![](https://oscdn.geek-share.com/Uploads/Images/Content/201909/21/e0dab5d2e7f358bac150c7b7b3ecdb5e)
或者还会跳出一个提示语“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的地址,然后保存。
![](https://oscdn.geek-share.com/Uploads/Images/Content/201909/21/55c8ddecfa023df609c5fdc710bfe942)
ok,然后问题解决了,
继续搬砖把!!!
或者还会跳出一个提示语“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,然后问题解决了,
继续搬砖把!!!
相关文章推荐
- apt-get都提示"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the probl
- VmWare Tools 安装提示 “The path "" is not a valid path to the.......”
- 当打开Oracle Jdevelopler 11g时出现"Unable to create an instace of the jave virtual Machine Located at path"错时解决办法
- Sql Server2008 安装时提示"Previous releases of Microsoft Visual Studio 2008" failed"
- How to configure the Virtual Path of ASP.NET Development Server to be “Root”
- To open the project created by previous version of Visual Studio
- Description Resource Path Location Type The project was not built due to "Could not delete '/Test/bi
- Adding Assemblies to the Visual Studio "Add Reference" Dialog(收集)
- "Cant start Git: git.exe probably the path to Git executable is not valid" Fix it." error
- How to Resolve the 'Error MSB6006 tsc.exe exited with code 2' build error in Visual Studio 2015
- fedora下安装vmware-tools时提示 The path "" is not a valid path to the $(kernel number) kernel headers
- The meaning of "setting to Nothing"
- vm 在centos7中安装vm tools 提示 the path "" is not a valid path to the 3.10.0-229.el7.x86_64 kernel heade
- vmware + centos 7安装vmtools时提示The path "" is not a valid path to the 3.10.0-327.el7.x86_64 kernel h
- 解决vmware fusion + centos 7安装vmtools时提示The path "" is not a valid path to the xxx kernel headers.
- iOS 真机测试提示"The identity used to sign the executable is no longer valid."
- VMware安装Ubuntu17.04的VMware-tools提示:what is the location of the "ifconfig" program on your machin问题解决
- 安装Visual Studio 2010时提示"The location specified for the help content store is invalid or you do not have access to it".
- centos 7安装vmtools时提示The path "" is not a valid path to the xxx kernel headers.
- 解决vmware fusion + centos 7安装vmtools时提示The path "" is not a valid path to the xxx kernel headers.