# 安装xdebug插件(7.2版本可以直接使用这个,如果是其他版本可以去https://xdebug.org获取)
wget -O xdebug.tgz https://xdebug.org/files/xdebug-2.7.0.tgz;
mkdir xdebug;
tar -xvf xbude.tgz -C xdebug;
cd xdebug;
phpize;
./configure --with-php-config=/usr/local/php/bin/php-config;
# 这里的配置是你的php-config路径,如果你的php是通过包管理器安装的就直接写=php-config就行
make;
sudo
Linux下安装PHP的Xdebug插件
最新推荐文章于 2024-05-20 09:30:35 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)