使用 PHP 5.3.8 进行调试 [英] Debugging using PHP 5.3.8
问题描述
我在 PHP v7 中使用 Xdebug 进行调试.我这样做的方式不适用于 PHP 5.3.8 版.
I used Xdebug for debugging in PHP v7. The way I did that its not working for PHP version 5.3.8.
从 https://xdebug.org/wizard.php 页面,当我粘贴 phpinfo()
显示错误的文字:
From the https://xdebug.org/wizard.php page, when I paste phpinfo()
text it shows error:
不再支持用于构建此 PHP 的编译器 (MS VC9).请升级到使用 MS VC11 或 MS VC14 构建的版本.
The compiler (MS VC9) that this PHP was build with, is no longer supported. Please upgrade to a version that was built with MS VC11 or MS VC14.
如何使用 PHP v5.3.8 进行调试
How to debug using PHP v5.3.8
推荐答案
为匹配的 PHP 版本下载旧版本:https://xdebug.org/download.php.
Download an older version for the matching PHP version: https://xdebug.org/download.php.
它们可能不再支持,但旧版本可以继续像它们仍然受到积极支持时一样工作.
They may not be supported anymore, but old versions continue to work as they did when they were still actively supported.
这篇关于使用 PHP 5.3.8 进行调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!