在Centos中安装xdebug时出错(Yum安装php-devel)

在Centos中安装xdebug时出错(Yum安装php-devel),php,xdebug,php-7.2,Php,Xdebug,Php 7.2,尝试通过以下方式安装xdebug for VS代码,并遇到以下错误 安装php cli(x86-64)=5.4时出错。。。。 找到php cli 7.2 即使用以下各项时: yum groupinstall "Development tools" && yum install php-devel autoconf automake 这起作用了 sudo yum --enablerepo=remi,remi-php72 install php-devel autoconf aut

尝试通过以下方式安装xdebug for VS代码,并遇到以下错误

安装php cli(x86-64)=5.4时出错。。。。 找到php cli 7.2

即使用以下各项时:

yum groupinstall "Development tools" && yum install php-devel autoconf automake
这起作用了

sudo yum --enablerepo=remi,remi-php72 install php-devel autoconf automake
这起作用了

sudo yum --enablerepo=remi,remi-php72 install php-devel autoconf automake

您正在使用哪个存储库?您是如何安装PHP的?您使用的是哪个存储库?您是如何安装PHP的?如果您使用“remi-php72”,您不需要PHP-devel,因为PHP-pecl-xdebug就在那里;):)谢谢你接电话。这是您的主要任务:)如果您使用“remi-php72”,您不需要php-devel,因为php-pecl-xdebug就在那里;):)谢谢你接电话。这是你的面包和黄油:)