PhpStorm和WAMP配置调试参数,问题描述Error. Interpreter is not specified or invalid. Press “Fix” to edit your project configuration.

时间:2023-03-08 20:08:13
PhpStorm和WAMP配置调试参数,问题描述Error. Interpreter is not specified or invalid. Press “Fix” to edit your project configuration.

PhpStorm和WAMP配置调试参数

问题描述:

Error. Interpreter is not specified or invalid. Press “Fix” to edit your project configuration.

PhpStorm和WAMP配置调试参数,问题描述Error. Interpreter is not specified or invalid. Press “Fix” to edit your project configuration.

解决方法:

打开File->Settings

PhpStorm和WAMP配置调试参数,问题描述Error. Interpreter is not specified or invalid. Press “Fix” to edit your project configuration.

浏览到Languages & Frameworks->PHP

Include Path添加D:\WAMP64\apps\phpsysinfo3.2.3\sample\distrotest\Pear

点击CLI Interpreter右边的…按钮,打开如下窗口

PhpStorm和WAMP配置调试参数,问题描述Error. Interpreter is not specified or invalid. Press “Fix” to edit your project configuration.

点击左上角的绿色加号按钮

PhpStorm和WAMP配置调试参数,问题描述Error. Interpreter is not specified or invalid. Press “Fix” to edit your project configuration.

选择Other Local…

PhpStorm和WAMP配置调试参数,问题描述Error. Interpreter is not specified or invalid. Press “Fix” to edit your project configuration.

配置如下:

假设WAMP安装路径为D:\WAMP64\,版本号可能会有差异,根据实际情况进行浏览选择。

PHP executable设置为D:\WAMP64\bin\php\php5.6.16\php.exe(点击…按钮浏览)

Debugger extension设置为D:\WAMP64\bin\php\php5.6.16\zend_ext\php_xdebug-2.4.0rc2-5.6-vc11-x86_64.dll(点击…按钮浏览)

设置结果如下:

PhpStorm和WAMP配置调试参数,问题描述Error. Interpreter is not specified or invalid. Press “Fix” to edit your project configuration.

点击OK按钮保存设置。

最终设置结果如下:

PhpStorm和WAMP配置调试参数,问题描述Error. Interpreter is not specified or invalid. Press “Fix” to edit your project configuration.

点击OK按钮保存设置。