在XAMPP for Mac上为PhpStorm配置xdebug时出错

我按照说明安装和配置Mac OS的PhpStorm可视化调试器,使用xdebug.org/wizard.php和定制的指令,并完成每一步。

php -v显示:

PHP 5.6.29 (cli) (built: Dec  8 2016 23:03:30) 
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans

在我的php.ini(是的,我证实这是正确的ini)

[Xdebug]
zend_extension = /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so
xdebug.remote_enable=1
xdebug.remote_host = 127.0.0.1
xdebug.remote_port=9000

自从进行更改后,我重新启动了Apache,但是当我将phpinfo.php粘贴到xdebug向导中时,它将进行分析,并且摘要如下所示:

  • Xdebug安装:否
  • 服务器API:Apache 2.0处理程序
  • Windows:没有
  • Zend服务器:不
  • PHP版本:5.6.24
  • Zend API编号:220131226
  • PHP API编号:20131226
  • 调试版本:不
  • 线程安全构建:没有
  • 配置文件路径:/ Applications / XAMPP / xamppfiles / etc
  • 配置文件:/Applications/XAMPP/xamppfiles/etc/php.ini
  • 扩展名目录:/ Applications / XAMPP / xamppfiles / lib / php / extensions / no-debug-non-zts-20131226
  • 任何帮助深表感谢。

    编辑:我也按照https://www.jetbrains.com/help/phpstorm/2016.1/configuring-xdebug.html中的说明在PhpStorm IDE中配置调试。

    编辑2:

    我的phpinfo():

  • 配置文件(php.ini)路径/应用程序/ XAMPP / xamppfiles /等
  • 加载的配置文件/Applications/XAMPP/xamppfiles/etc/php.ini
  • 编辑3:链接到整体PhpInfo()https://drive.google.com/file/d/0B5Fz1a8OLiwRYW1RR0ZnbFVndjg/view?usp=sharing


    备查:

    用户遵循本教程可以在XAMPP / OSX和PhpStorm上使用xdebug。

    链接地址: http://www.djcxy.com/p/57693.html

    上一篇: Trouble configuring xdebug for PhpStorm on XAMPP for Mac

    下一篇: POST empty for unknown reason (localhost)