VS Code “Cannot validate the php file. The php program was not found”解决办法
来源:互联网 发布:单片机排针怎么用 编辑:程序博客网 时间:2024/05/17 11:36
首选我们打开软件,找到软件的首选项进行修改设置:
点击了首选项之后,我们可以直接开始查找关键词的操作了,使用CTRL+F来查找关键字“php.validate.executablePath”:
找到了关键字之后,我们点击一下,就可以看到右边有相关的内容出现,没有关系,我们将内容修改一下,修改为指定的内容:
有兴趣的用户可以去看看。那么安装了PHP环境之后,我们可以路径了,路径模式为:
“php.validate.executablePath”: “D://xampp//php//php.exe”
说白了就是你要将后面的 D://xampp//php//php.exe 修改为你的PHP应用的路径。
这里需要注意的就是,Windows下默认的路径是用“\”来分割的,这里需要修改为“//”,请知晓。
修改完毕之后保存即可,之后就不会出现文章开头说的问题了,希望对大家有用。
阅读全文
0 0
- VS Code “Cannot validate the php file. The php program was not found”解决办法
- Not Found The requested URL /phpMyAdmin/index.php was not found on this server.解决办法
- Not Found The requested URL /phpMyAdmin/index.php was not found on this server.
- eclipse c++ 问题Launch failed,Binary not found和A program file was not specified in the launch configur
- jxl.read.biff.biffexception: the input file was not found
- jxl.read.biff.biffexception: the input file was not found
- HttpServlet was not found on the Java 错误的解决办法
- PHP zend framework The requested URL /XXX/public/index was not found on this server
- The requested URL /test.php was not found on this server.
- ubuntu14.04 安装LAMP中访问info.php提示The requested URL /index.php was not found on this server.
- "The object cannot be deleted because it was not found in the ObjectStateManager."
- Visual Studio Code 提示"use the 'php.validate.executablePath'setting to configure the location of 'php
- vs code 设置php.validate.executablePath
- "The string '__checksum' was not found in the string table"解决办法
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path解决办法
- 关于eclipse提示:"The superclass "javax.servlet.http.HttpServlet" was not found on the Java"解决办法
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的解决办法
- 关于eclipse提示:"The superclass "javax.servlet.http.HttpServlet" was not found on the Java"解决办法
- 让人流口水!当苹果 ARKit 与点餐应用结合在一起
- linux C中的select的使用
- leetcode 400
- 事件冒泡与事件捕获,附实例
- Codeforces-813D Two Melodies(dp)
- VS Code “Cannot validate the php file. The php program was not found”解决办法
- win7 系统安装图解教程
- Excel 快速输入各类数据的方法技巧示例总结
- 接口的幂等性
- View[5] ViewTreeObserver
- 基于angular.js发送ajax请求实现前后台数据交互
- 台风与晴天
- Excel自动为该单元格所在行和列突出显示颜色强调数据
- python代码风格