# 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
1条答案
按热度按时间w8ntj3qf1#
相关帖子(不是重复的,但可能对某些人有帮助)yum install php-pear* on centos