PhpStorm和WAMP配置调试参数

问题描述:

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

 

解决方法:

打开File->Settings

浏览到Languages & Frameworks->PHP

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

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

 

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

选择Other Local…

配置如下:

假设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(点击…按钮浏览)

设置结果如下:

 

点击OK按钮保存设置。

最终设置结果如下:

点击OK按钮保存设置。

猜你喜欢

转载自blog.csdn.net/luohai859/article/details/77837717