在当前的 Php7 设置上安装 php-pear 包

问题描述 投票:0回答:1

我需要在当前的 php7 - CentOS7 设置上安装 php-pear 软件包。我尝试使用 remi rpm 存储库,但它创建了一个新的 php 包。我需要在现有的基础上使用它。有人可以帮忙吗?

php linux centos pear
1个回答
0
投票
# 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

相关帖子(不重复,但可能对某些人有帮助)yum install php-pear* on centos

最新问题
© www.soinside.com 2019 - 2024. All rights reserved.