xDebug 不显示 HTML 输出 (Mac OSX Lion)
我刚刚安装了 xDebug,它似乎可以工作,但我只是在页面上获得纯文本输出。 我怎样才能得到 xDebug 的 html 输出,就像它应该的那样?
我的 php.ini 已打开 html_erros,我的机器是 Mac osx lion。
zendServer;
Zend Data Cache | Off
Zend Debugger | Off
php.ini 行;
; html_errors
; Default Value: On
; Development Value: On
; Production value: On
; zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.show_local_vars=On
xdebug.var_display_max_data=10000
xdebug.var_display_max_depth=20
Phpinfo() 不正确;
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with Zend Extension Manager v5.1, Copyright (c) 2003-2010, by Zend Technologies
- with Zend Data Cache v4.0, Copyright (c) 2004-2010, by Zend Technologies [loaded] [licensed] [disabled]
- with Zend Java Bridge v3.1, Copyright (c) 2004-2010, by Zend Technologies [loaded] [licensed] [enabled]
- with Zend Utils v1.0, Copyright (c) 2004-2010, by Zend Technologies [loaded] [licensed] [enabled]
问候, 尼基
I just installed xDebug, It seems to work but I just get plain text output on my pages.
How can I get the html output of xDebug like it should be?
My php.ini has html_erros ON, my machine is Mac osx lion.
zendServer;
Zend Data Cache | Off
Zend Debugger | Off
php.ini lines;
; html_errors
; Default Value: On
; Development Value: On
; Production value: On
; zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.show_local_vars=On
xdebug.var_display_max_data=10000
xdebug.var_display_max_depth=20
Phpinfo() not correct;
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with Zend Extension Manager v5.1, Copyright (c) 2003-2010, by Zend Technologies
- with Zend Data Cache v4.0, Copyright (c) 2004-2010, by Zend Technologies [loaded] [licensed] [disabled]
- with Zend Java Bridge v3.1, Copyright (c) 2004-2010, by Zend Technologies [loaded] [licensed] [enabled]
- with Zend Utils v1.0, Copyright (c) 2004-2010, by Zend Technologies [loaded] [licensed] [enabled]
Regards,
Nicky
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
来自他们的网站。
另外,请确保您禁用 Zend 调试器。事实上,我记得不太清楚,但您可能必须禁用其他 Zend 功能,例如 Zend Optimizer。
要禁用 Zend 调试器:
或者,您也可以手动执行此操作:
$ cd /usr /local/zend/etc/conf.d
$ vim debugger.ini
zend_extension_manager.dir.debugger=/usr/local/zend/lib/debugger
From their website.
Also, make sure you disable Zend Debugger. In fact, I don't remember perfectly but you might have to disable other Zend stuff like Zend Optimizer.
To disable the Zend Debugger:
Or, optionally, you could do this manually:
$ cd /usr/local/zend/etc/conf.d
$ vim debugger.ini
zend_extension_manager.dir.debugger=/usr/local/zend/lib/debugger
; zend_extension_manager.dir.debugger=/usr/local/zend/lib/debugger
已解决。 php.ini 中有两个不同的部分,我必须在其中打开 html_errors。不太好,我必须更好地检查 phpinfo() 才能看到,在仅打开一个 html_error 部分后,html_errors 仍然“关闭”!
Resolved. There were 2 different sections in the php.ini where I had to turn html_errors on. No very good, I had to check the phpinfo() beter to see, html_errors where still 'off' after turn just one html_error section on!