phpinfo()中没有xdebug [英] No xdebug in phpinfo()

查看:153
本文介绍了phpinfo()中没有xdebug的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在php.ini中添加了以下几行

I have added following lines into php.ini

[XDebug]
zend_extension = C:\PROGRA~1\PHP5\ext\php_xdebug-2.1.0-5.3-vc9.dll
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000

php_xdebug-2.1.0-5.3-vc9.dll的版本是通过页面 http://www.xdebug.org/find获取的-binary.php .

但是在phpinfo()的输出中没有提及'xdebug'字符串.

But there are no any mentions of 'xdebug' string in output of phpinfo().

有什么问题吗?

(这是我第二次与php-xdebug进行战斗,这是第一次

(This is my second fight with php-xdebug to get working, first time I gave up. If you have other suggestions concerning debugging please add them also, possibly as comments to the question. I would like to following scenario work under windows: "Set up break point, run my script, it stops on break point and I can see the value of some variable". Thanks)

更新

重新启动Apache无法解决该问题. 在日志文件中,显示消息:

Restart of Apache does not resolve the issue. In log file the message appears:

已配置Apache/2.2.14(Win32)PHP/5.3.1-恢复正常运行

Apache/2.2.14 (Win32) PHP/5.3.1 configured - resuming normal operations

推荐答案

zend_extension = C:\PROGRA~1\PHP5\ext\php_xdebug-2.1.0-5.3-vc9.dll

应替换为

zend_extension="C:\PROGRA~1\PHP5\ext\php_xdebug-2.1.0-5.3-vc9.dll"

P.S.将通过电子邮件发送给xdebug伙计们.

P.S. Will e-mail xdebug guys.

这篇关于phpinfo()中没有xdebug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆