Yum install php Requires: libzip5 (x86-64) & gt; = 1.3.2

Source: Internet
Author: User

Yum install php Requires: libzip5 (x86-64)> = 1.3.2

During the experiment, when php is installed using an rpm package, the version of the system is always old. When you want to install a new version of the php rpm package, you will find that the various dependent package versions do not meet the requirements.

Error: Package: php-pecl-zip-1.15.2-1.el6.remi.5.6.x86_64 (remi)
Requires: libzip5 (x86-64)> = 1.3.2
Error: Package: php-pecl-zip-1.15.2-1.el6.remi.5.6.x86_64 (remi)
Requires: libzip. so.5 () (64bit)

Therefore, php can only be obtained from the remi source, but it is not enough to configure only remi, because it only has packages related to various php versions and other dependent packages (such as libzip5) and related tools (such as php-fpm) are deployed in the remi safe source. Therefore, you must configure both the remi source and the remi safe source, remi safe stores packages and other related tools that may be required during php installation, such as the dependent package libzip5 and php container php-fpm.

[Root @ bkjia ~] # Cat/etc/yum. repos. d/remi. repo
[Remi]
Name = remirepo
Base url = https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/6/php56/x86_64/
Enable = 1
Gpgcheck = 0

[Remisafe]
Name = remisaferepo
Base url = https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/6/safe/x86_64/
Enable = 1
Gpgcheck = 0

The yum installation went smoothly.
Yum -- disablerepo = * -- enablerepo = remi *-y install php-fpm

Red Hat Enterprise Linux 7.3 PHP installation https://www.bkjia.com/Linux/2017-05/143942.htm
Php hd scan PDF + CD source code + a full set of teaching video https://www.bkjia.com/Linux/2014-03/97536.htm
PHP7.0 installation https://www.bkjia.com/Linux/2017-08/146433.htm in CentOS 7.3 Environment
CentOS 7.2 compiling and installing PHP7.0.10 + MySQL5.7.14 + Nginx1.10.1 https://www.bkjia.com/Linux/2016-09/134804.htm
Linux installation PHP5 and PHP7 co-exist https://www.bkjia.com/Linux/2018-01/150007.htm
Linux installation PHP extension module detailed description https://www.bkjia.com/Linux/2018-01/150006.htm
CentOS 7 PHP 7.1.12 installation configuration https://www.bkjia.com/Linux/2018-01/150508.htm
Deploying Nextcloud https://www.bkjia.com/Linux/2017-12/149945.htm with MySQL 5.7 + PHP 7 + Apache in CentOS 7
Install the LEMP environment (Nginx, MariaDB, PHP7.1) https://www.bkjia.com/Linux/2017-12/149581.htm on Ubuntu 17.10

PHP details: click here
PHP: click here

This article permanently updates link: https://www.bkjia.com/Linux/2018-03/151312.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.