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

 

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