centos7安裝php7出現依賴問題 Package: gd3php-2.3.3-7.el7.remi.x86_64 (remi-safe) Requires: libraqm.so.0()(64bit)
centos7安裝php7出現依賴問題
--> Finished Dependency Resolution
Error: Package: gd3php-2.3.3-7.el7.remi.x86_64 (remi-safe)
Requires: libraqm.so.0()(64bit)
Error: Package: php-pecl-redis5-5.3.7-2.el7.remi.7.4.x86_64 (remi-php74)
Requires: liblzf.so.1()(64bit)
Error: Package: php-pecl-redis5-5.3.7-2.el7.remi.7.4.x86_64 (remi-php74)
Requires: libzstd.so.1()(64bit)
Error: Package: php-pecl-mcrypt-1.0.7-1.el7.remi.7.4.x86_64 (remi-php74)
Requires: libmcrypt.so.4()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Error: Package: gd3php-2.3.3-7.el7.remi.x86_64 (remi-safe)
Requires: libraqm.so.0()(64bit)
Error: Package: php-pecl-redis5-5.3.7-2.el7.remi.7.4.x86_64 (remi-php74)
Requires: liblzf.so.1()(64bit)
Error: Package: php-pecl-redis5-5.3.7-2.el7.remi.7.4.x86_64 (remi-php74)
Requires: libzstd.so.1()(64bit)
Error: Package: php-pecl-mcrypt-1.0.7-1.el7.remi.7.4.x86_64 (remi-php74)
Requires: libmcrypt.so.4()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
$ cd /etc/yum.repos.d/
#添加下面的配置
$ vi epel.repo
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
再安裝
$ yum install php php-fpm php-cli php-common php-gd php-ldap php-mbstring php-mcrypt php-mysqlnd php-pdo php-xml php-xmlrpc php-pear php-pecl-apc php-pecl-redis
留言
張貼留言