PHP的xdebug安装遇到过的坑

查看xdebug版本的网址https://xdebug.org/wizard

安装步骤记录https://www.jianshu.com/p/74a1d60ab5ef

配置文件,省的再敲了 

记住phpstudy只有32位的,安装xdebug一定安装32位的, 不然显示不了

还有安装VC 对应的版本,不然也不行

[XDebug]
zend_extension="D:\phpstudy\PHPTutorial\php\php-5.6.27-nts\ext\php_xdebug.dll"
;亦可 php_xdebug.dll
;亦可 php_xdebug-2.5.4-5.6-vc11-nts.dll
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir ="D:\phpstudy\PHPTutorial\tmp\xdebug"
xdebug.trace_output_dir ="D:\phpstudy\PHPTutorial\tmp\xdebug"
xdebug.profiler_output_name = "cache.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
xdebug.remote_mode = "req"
xdebug.idekey = phpdebug

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章