[英]How can I install xdebug?
I want to install xdebug.I am facing problem regarding it. 我想安装xdebug.I我遇到了问题。 I have download dll file for xdebug. 我有下载xdebug的dll文件。 When i was install xdebug the phpinfo();
当我安装xdebug时phpinfo();
not displaying that xdebug. 没有显示xdebug。 So anyone can help me to do this. 所以任何人都可以帮我做到这一点。 i have also edit php.ini file after placed xdebug.dll file in ext folder. 我在ext文件夹中放置xdebug.dll文件后也编辑了php.ini文件。 and is that necessary to install zend for use the xdebug? 是否有必要安装zend以使用xdebug? So please help 所以请帮忙
[XDebug]
;zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
;xdebug.profiler_append = 0 ;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "C:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
;xdebug.remote_enable = 0
;xdebug.remote_handler = "dbgp"
;xdebug.remote_host = "127.0.0.1"
;xdebug.trace_output_dir = "C:\xampp\tmp"
and i have install xdebug.dll file here: C:\\xampp\\php\\ext\\php_xdebug.dll
我在这里安装xdebug.dll文件: C:\\xampp\\php\\ext\\php_xdebug.dll
Aparently you did not enable the debugger: 显然你没有启用调试器:
Note all those ;
注意所有这些;
characters at the beginning of your entries in the [ XDEBUG]
section of your php.ini
file. php.ini
文件的[ XDEBUG]
部分中条目开头的字符。 They mark that line as a comment, as not active. 他们将该行标记为注释,因为它不活跃。 So in the end you did add a section, but without any active entries! 所以最后你确实添加了一个部分,但没有任何有效的条目!
Remove (some of) these semicolons as mentioned in all manuals. 删除(部分)所有手册中提到的这些分号。 Then test again by calling your phpinfo script! 然后通过调用phpinfo脚本再次测试!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.