下载地址:https://xdebug.org/download/historical
查看当前php版本适应:https://xdebug.org/docs/compat#versions
参考地址:
https://xdebug.org/docs/compat#versions
https://blog.csdn.net/m0_37477061/article/details/88970562
https://www.cnblogs.com/skyli665/p/9765926.html
首先,下载xdebug,在网站选择源码下载。
1、wget http://www.xdebug.org/files/xdebug-2.3.3.tgz
2、tar -zxvf x