简体   繁体   中英

Install php-pear package on the current set up of Php7

I need to install the php-pear package on the current php7 - CentOS7 set up. I have tried using the remi rpm repository but it creates a new php package. I need it on the existing one. Can anyone help?

# verify that you do not have any php-pear package installed
sudo yum list installed | grep "php*-pear"

# verify what php version your command line is using (which is _likely_
#  to be the same than your web server) 
php -v

# see what are the available php-pear package
sudo yum list available | grep "php*-pear"

#install the relevant php pear package
sudo yum install php71w-pear

Related post (not a duplicate, but might help some people) yum install php-pear* on centos

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM