can't install php-devel on centos

后端 未结 9 1156
天涯浪人
天涯浪人 2020-12-08 22:03

I need help with installation of php-devel (I need it, cause it has phpize, which is necessary to install eAccelerator). But when I try to install php-devel with yum i

9条回答
  •  生来不讨喜
    2020-12-08 22:33

    For PHP 7.2 and similar, the following works for me(notice the remi-php72)

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

    if this is about installing xdebug requirements for centos then:

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

提交回复
热议问题