在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向导中时,它将进行分析,并且摘要如下所示:
任何帮助深表感谢。
编辑:我也按照https://www.jetbrains.com/help/phpstorm/2016.1/configuring-xdebug.html中的说明在PhpStorm IDE中配置调试。
编辑2:
我的phpinfo():
编辑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