環境說明:
1、php7.2.1
2、php.ini配置
[Zend]
?zend_extension=D:\work-Doc\wiki\php-7.2.11-Win32-VC15-x64\ext\php_xdebug-2.6.1-7.2-vc15-x86_64.dll
?xdebug.remote_port=9000
?xdebug.remote_enable=1
?xdebug.remote_host=127.0.0.1
?xdebug.remote_handler=dbgp
?xdebug.collect_vars = On
?xdebug.collect_return = On
?xdebug.collect_params = On
?xdebug.profiler_enable=1
?xdebug.profiler_output_dir=D:\work-Doc\wiki\xampp\tmp
解決辦法:
導致xdebug老是不能加載,試了好多版本的,可是都不行,最后搜到一個解決方案:?把phpinfo()的信息拷貝到xdebug官網的一個測試頁面:?http://www.xdebug.org/find-binary.php?,讓官網來測試我的環境找到合適的版本,這確實不錯哦
結果:問題解決
---------------------
作者:禪碼一杯茶
來源:CSDN
原文:https://blog.csdn.net/zeng133/article/details/83820890
版權聲明:本文為作者原創文章,轉載請附上博文鏈接!
內容解析By:CSDN,CNBLOG博客文章一鍵轉載插件