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

来源:互联网 发布:手机视频慢放软件 编辑:程序博客网 时间:2024/06/06 01:02

在使用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,然后问题解决了,
继续搬砖把!!!

阅读全文
0 0
原创粉丝点击