2013-08-16 95 views
0

我想安装xdebug.I面临着问题。我已经为xdebug下载了dll文件。当我安装xdebug时,phpinfo();不显示该xdebug。所以任何人都可以帮助我做到这一点。将xdebug.dll文件放入ext文件夹后,我也编辑了php.ini文件。 是否需要安装zend以使用xdebug? 所以请帮助我该如何安装xdebug?

[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" 

,我必须在这里安装xdebug.dll文件:C:\xampp\php\ext\php_xdebug.dll

+0

发布您的php.ini文件和“安装”哪个文件的位置。 – arkascha

+0

php.ini文件具有大约Xdebug的这个内容 [了XDebug] ;的zend_extension = “C:\ XAMPP \ PHP \分机\ php_xdebug.dll” ; xdebug.profiler_append = 0 ; xdebug.profiler_enable = 1 ; xdebug.profiler_enable_trigger = 0 ; xdebug.profiler_output_dir =:; “cachegrind.out%叔%S” “C \ XAMPP \ TMP” xdebug.profiler_output_name = ; xdebug.remote_enable = 0 ; xdebug.remote_handler =“ dbgp“ ; xdebug.remote_host =”127.0.0.1“ ; xdebug.trace_output_dir =”C:\ xampp \ tmp“ –

+0

我在这里安装了xdebug.dll文件C:\ xampp \ php \ ext \ php_xdebug.dll这里 –

回答

2

Aparently您没有启用调试:

注意所有这些;字符在条目的开始您的php.ini文件的[XDEBUG]部分。他们将该行标记为注释,因为不是有效。所以最后你添加了一个部分,但没有任何活动条目!

删除所有手册中提到的(某些)分号。然后通过调用phpinfo脚本再次测试!

+0

兄弟我已删除评论,但也没有帮助.Apache 2.4 php-5.4.7和我想安装xdebug版本php_xdebug-2.2.3-5.3-vc9-nts-x86_64所以这是正确的或版本的问题? –

+0

重新启动守护程序时出现在apache错误日志文件中?要么你得到一个提示(如一些不兼容),或者你的php.ini文件没有被读取(错误的文件,也许在你的系统的不同位置有不同的版本)。 – arkascha

+0

apache中的错误日志为空 –