Skip to content
Home » Linux » Install Newest LAMP on CentOS 7.2 Minimal (3/4) - Install PHP 7.0 Modules

Install Newest LAMP on CentOS 7.2 Minimal (3/4) - Install PHP 7.0 Modules

Check the available version of PHP from base repository.

[root@test ~]# yum info php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.ksu.edu.tw
 * extras: ftp.ksu.edu.tw
 * updates: ftp.ksu.edu.tw
Available Packages
Name        : php
Arch        : x86_64
Version     : 5.4.16
Release     : 36.el7_1
Size        : 1.4 M
Repo        : base/7/x86_64
Summary     : PHP scripting language for creating dynamic web sites
URL         : http://www.php.net/
License     : PHP and Zend and BSD
Description : PHP is an HTML-embedded scripting language. PHP attempts to make
            : it easy for developers to write dynamically generated web pages.
            : PHP also offers built-in database integration for several
            : commercial and non-commercial database management systems, so
            : writing a database-enabled webpage with PHP is fairly simple. The
            : most common use of PHP coding is probably as a replacement for CGI
            : scripts.
            :
            : The php package contains the module (often referred to as mod_php)
            : which adds support for the PHP language to Apache HTTP Server.

If we'd like to install PHP 7.0, we cannot rely on the default yum repository. We need to find another way to do it.

Install EPEL repository for enterprise linux 7, then install webtatic.

[root@test ~]# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
warning: /var/tmp/rpm-tmp.bbmyMI: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:epel-release-7-5                 ################################# [100%]
[root@test ~]# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
Retrieving https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
warning: /var/tmp/rpm-tmp.bnp1Mw: Header V4 RSA/SHA1 Signature, key ID 62e74ca5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:webtatic-release-7-3             ################################# [100%]

Now, we can install PHP 7.0 modules as below.

[root@test ~]# yum -y install php70w php70w-cli php70w-common php70w-bcmath php70w-dba php70w-devel php70w-embedded php70w-fpm php70w-gd php70w-imap php70w-interbase php70w-intl php70w-ldap php70w-mbstring php70w-mcrypt php70w-mysqlnd php70w-odbc php70w-opcache php70w-pdo php70w-pdo_dblib php70w-process php70w-pspell php70w-recode php70w-tidy php70w-xml php70w-xmlrpc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.ksu.edu.tw
 * epel: mirror01.idc.hinet.net
 * extras: ftp.ksu.edu.tw
 * updates: ftp.ksu.edu.tw
 * webtatic: sp.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php70w.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-bcmath.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-cli.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-common.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-dba.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-devel.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: pcre-devel(x86-64) for package: php70w-devel-7.0.4-1.w7.x86_64
--> Processing Dependency: automake for package: php70w-devel-7.0.4-1.w7.x86_64
--> Processing Dependency: autoconf for package: php70w-devel-7.0.4-1.w7.x86_64
---> Package php70w-embedded.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-fpm.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-gd.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: php70w-gd-7.0.4-1.w7.x86_64
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php70w-gd-7.0.4-1.w7.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: php70w-gd-7.0.4-1.w7.x86_64
--> Processing Dependency: libjpeg.so.62()(64bit) for package: php70w-gd-7.0.4-1.w7.x86_64
--> Processing Dependency: libXpm.so.4()(64bit) for package: php70w-gd-7.0.4-1.w7.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: php70w-gd-7.0.4-1.w7.x86_64
---> Package php70w-imap.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: libc-client.so.2007()(64bit) for package: php70w-imap-7.0.4-1.w7.x86_64
---> Package php70w-interbase.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: libfbclient.so.2()(64bit) for package: php70w-interbase-7.0.4-1.w7.x86_64
---> Package php70w-intl.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: libicuuc.so.50()(64bit) for package: php70w-intl-7.0.4-1.w7.x86_64
--> Processing Dependency: libicuio.so.50()(64bit) for package: php70w-intl-7.0.4-1.w7.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: php70w-intl-7.0.4-1.w7.x86_64
--> Processing Dependency: libicudata.so.50()(64bit) for package: php70w-intl-7.0.4-1.w7.x86_64
---> Package php70w-ldap.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-mbstring.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-mcrypt.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php70w-mcrypt-7.0.4-1.w7.x86_64
--> Processing Dependency: libltdl.so.7()(64bit) for package: php70w-mcrypt-7.0.4-1.w7.x86_64
---> Package php70w-mysqlnd.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-odbc.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: libodbc.so.2()(64bit) for package: php70w-odbc-7.0.4-1.w7.x86_64
---> Package php70w-opcache.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-pdo.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-pdo_dblib.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: libsybdb.so.5()(64bit) for package: php70w-pdo_dblib-7.0.4-1.w7.x86_64
---> Package php70w-process.x86_64 0:7.0.4-1.w7 will be installed
---> Package php70w-pspell.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: libpspell.so.15()(64bit) for package: php70w-pspell-7.0.4-1.w7.x86_64
--> Processing Dependency: libaspell.so.15()(64bit) for package: php70w-pspell-7.0.4-1.w7.x86_64
---> Package php70w-recode.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: librecode.so.0()(64bit) for package: php70w-recode-7.0.4-1.w7.x86_64
---> Package php70w-tidy.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php70w-tidy-7.0.4-1.w7.x86_64
---> Package php70w-xml.x86_64 0:7.0.4-1.w7 will be installed
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php70w-xml-7.0.4-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php70w-xml-7.0.4-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php70w-xml-7.0.4-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php70w-xml-7.0.4-1.w7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php70w-xml-7.0.4-1.w7.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: php70w-xml-7.0.4-1.w7.x86_64
--> Processing Dependency: libexslt.so.0()(64bit) for package: php70w-xml-7.0.4-1.w7.x86_64
---> Package php70w-xmlrpc.x86_64 0:7.0.4-1.w7 will be installed
--> Running transaction check
---> Package aspell.x86_64 12:0.60.6.1-9.el7 will be installed
---> Package autoconf.noarch 0:2.69-11.el7 will be installed
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
--> Processing Dependency: perl(Data::Dumper) for package: autoconf-2.69-11.el7.noarch
---> Package automake.noarch 0:1.13.4-3.el7 will be installed
--> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch
--> Processing Dependency: perl(TAP::Parser) for package: automake-1.13.4-3.el7.noarch
---> Package firebird-libfbclient.x86_64 0:2.5.5.26952.0-2.el7 will be installed
---> Package freetds.x86_64 0:0.95.81-1.el7 will be installed
---> Package libX11.x86_64 0:1.6.3-2.el7 will be installed
--> Processing Dependency: libX11-common >= 1.6.3-2.el7 for package: libX11-1.6.3-2.el7.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.3-2.el7.x86_64
---> Package libXpm.x86_64 0:3.5.11-3.el7 will be installed
---> Package libc-client.x86_64 0:2007f-4.el7.1 will be installed
---> Package libicu.x86_64 0:50.1.2-15.el7 will be installed
---> Package libjpeg-turbo.x86_64 0:1.2.90-5.el7 will be installed
---> Package libmcrypt.x86_64 0:2.5.8-13.el7 will be installed
---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be installed
---> Package libtidy.x86_64 0:0.99.0-31.20091203.el7 will be installed
---> Package libtool-ltdl.x86_64 0:2.4.2-21.el7_2 will be installed
---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
---> Package pcre-devel.x86_64 0:8.32-15.el7 will be installed
---> Package recode.x86_64 0:3.6-38.el7 will be installed
---> Package unixODBC.x86_64 0:2.3.1-11.el7 will be installed
--> Running transaction check
---> Package libX11-common.noarch 0:1.6.3-2.el7 will be installed
---> Package libxcb.x86_64 0:1.11-4.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.11-4.el7.x86_64
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
---> Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed
---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed
--> Running transaction check
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch      Version                    Repository   Size
================================================================================
Installing:
 php70w                  x86_64    7.0.4-1.w7                 webtatic    2.8 M
 php70w-bcmath           x86_64    7.0.4-1.w7                 webtatic     35 k
 php70w-cli              x86_64    7.0.4-1.w7                 webtatic    2.8 M
 php70w-common           x86_64    7.0.4-1.w7                 webtatic    1.2 M
 php70w-dba              x86_64    7.0.4-1.w7                 webtatic     33 k
 php70w-devel            x86_64    7.0.4-1.w7                 webtatic    2.5 M
 php70w-embedded         x86_64    7.0.4-1.w7                 webtatic    1.4 M
 php70w-fpm              x86_64    7.0.4-1.w7                 webtatic    1.4 M
 php70w-gd               x86_64    7.0.4-1.w7                 webtatic    135 k
 php70w-imap             x86_64    7.0.4-1.w7                 webtatic     49 k
 php70w-interbase        x86_64    7.0.4-1.w7                 webtatic     70 k
 php70w-intl             x86_64    7.0.4-1.w7                 webtatic    180 k
 php70w-ldap             x86_64    7.0.4-1.w7                 webtatic     33 k
 php70w-mbstring         x86_64    7.0.4-1.w7                 webtatic    540 k
 php70w-mcrypt           x86_64    7.0.4-1.w7                 webtatic     25 k
 php70w-mysqlnd          x86_64    7.0.4-1.w7                 webtatic    203 k
 php70w-odbc             x86_64    7.0.4-1.w7                 webtatic     49 k
 php70w-opcache          x86_64    7.0.4-1.w7                 webtatic    123 k
 php70w-pdo              x86_64    7.0.4-1.w7                 webtatic     89 k
 php70w-pdo_dblib        x86_64    7.0.4-1.w7                 webtatic     18 k
 php70w-process          x86_64    7.0.4-1.w7                 webtatic     40 k
 php70w-pspell           x86_64    7.0.4-1.w7                 webtatic     17 k
 php70w-recode           x86_64    7.0.4-1.w7                 webtatic     12 k
 php70w-tidy             x86_64    7.0.4-1.w7                 webtatic     29 k
 php70w-xml              x86_64    7.0.4-1.w7                 webtatic    127 k
 php70w-xmlrpc           x86_64    7.0.4-1.w7                 webtatic     46 k
Installing for dependencies:
 aspell                  x86_64    12:0.60.6.1-9.el7          base        686 k
 autoconf                noarch    2.69-11.el7                base        701 k
 automake                noarch    1.13.4-3.el7               base        679 k
 firebird-libfbclient    x86_64    2.5.5.26952.0-2.el7        epel        320 k
 freetds                 x86_64    0.95.81-1.el7              epel        635 k
 libX11                  x86_64    1.6.3-2.el7                base        605 k
 libX11-common           noarch    1.6.3-2.el7                base        162 k
 libXau                  x86_64    1.0.8-2.1.el7              base         29 k
 libXpm                  x86_64    3.5.11-3.el7               base         54 k
 libc-client             x86_64    2007f-4.el7.1              epel        559 k
 libicu                  x86_64    50.1.2-15.el7              base        6.9 M
 libjpeg-turbo           x86_64    1.2.90-5.el7               base        134 k
 libmcrypt               x86_64    2.5.8-13.el7               epel         99 k
 libpng                  x86_64    2:1.5.13-7.el7_2           updates     213 k
 libtidy                 x86_64    0.99.0-31.20091203.el7     epel        132 k
 libtool-ltdl            x86_64    2.4.2-21.el7_2             updates      49 k
 libxcb                  x86_64    1.11-4.el7                 base        189 k
 libxslt                 x86_64    1.1.28-5.el7               base        242 k
 m4                      x86_64    1.4.16-10.el7              base        256 k
 pcre-devel              x86_64    8.32-15.el7                base        478 k
 perl-Data-Dumper        x86_64    2.145-3.el7                base         47 k
 perl-Test-Harness       noarch    3.28-3.el7                 base        302 k
 perl-Thread-Queue       noarch    3.02-2.el7                 base         17 k
 recode                  x86_64    3.6-38.el7                 base        718 k
 unixODBC                x86_64    2.3.1-11.el7               base        413 k

Transaction Summary
================================================================================
Install  26 Packages (+25 Dependent packages)

Total download size: 28 M
Installed size: 105 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/firebird-libfbclient-2.5.5.26952.0-2.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for firebird-libfbclient-2.5.5.26952.0-2.el7.x86_64.rpm is not installed
(1/51): firebird-libfbclient-2.5.5.26952.0-2.el7.x86_64.rp | 320 kB   00:06
(2/51): freetds-0.95.81-1.el7.x86_64.rpm                   | 635 kB   00:09
(3/51): aspell-0.60.6.1-9.el7.x86_64.rpm                   | 686 kB   00:10
(4/51): libXau-1.0.8-2.1.el7.x86_64.rpm                    |  29 kB   00:00
(5/51): libXpm-3.5.11-3.el7.x86_64.rpm                     |  54 kB   00:00
(6/51): autoconf-2.69-11.el7.noarch.rpm                    | 701 kB   00:12
automake-1.13.4-3.el7.noarch.r FAILED
http://mirror.bit.edu.cn/centos/7.2.1511/os/x86_64/Packages/automake-1.13.4-3.el7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(7/51): libX11-common-1.6.3-2.el7.noarch.rpm               | 162 kB   00:07
libjpeg-turbo-1.2.90-5.el7.x86 FAILED
http://mirror.bit.edu.cn/centos/7.2.1511/os/x86_64/Packages/libjpeg-turbo-1.2.90-5.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(8/51): libpng-1.5.13-7.el7_2.x86_64.rpm                   | 213 kB   00:22
(9/51): libc-client-2007f-4.el7.1.x86_64.rpm               | 559 kB   00:32
(10/51): libicu-50.1.2-15.el7.x86_64.rpm                   | 6.9 MB   00:33
(11/51): libmcrypt-2.5.8-13.el7.x86_64.rpm                 |  99 kB   00:28
(12/51): libX11-1.6.3-2.el7.x86_64.rpm                     | 605 kB   00:40
libxslt-1.1.28-5.el7.x86_64.rp FAILED
http://mirror.bit.edu.cn/centos/7.2.1511/os/x86_64/Packages/libxslt-1.1.28-5.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(13/51): libtool-ltdl-2.4.2-21.el7_2.x86_64.rpm            |  49 kB   00:02
pcre-devel-8.32-15.el7.x86_64. FAILED
http://mirror.bit.edu.cn/centos/7.2.1511/os/x86_64/Packages/pcre-devel-8.32-15.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(14/51): perl-Data-Dumper-2.145-3.el7.x86_64.rpm           |  47 kB   00:00
(15/51): perl-Thread-Queue-3.02-2.el7.noarch.rpm           |  17 kB   00:00
(16/51): libtidy-0.99.0-31.20091203.el7.x86_64.rpm         | 132 kB   00:03
perl-Test-Harness-3.28-3.el7.n FAILED
http://mirror.bit.edu.cn/centos/7.2.1511/os/x86_64/Packages/perl-Test-Harness-3.28-3.el7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(17/51): libxcb-1.11-4.el7.x86_64.rpm                      | 189 kB   00:02
warning: /var/cache/yum/x86_64/7/webtatic/packages/php70w-bcmath-7.0.4-1.w7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 62e74ca5: NOKEY
Public key for php70w-bcmath-7.0.4-1.w7.x86_64.rpm is not installed
(18/51): php70w-bcmath-7.0.4-1.w7.x86_64.rpm               |  35 kB   00:02
(19/51): m4-1.4.16-10.el7.x86_64.rpm                       | 256 kB   00:04
(20/51): php70w-dba-7.0.4-1.w7.x86_64.rpm                  |  33 kB   00:00
(21/51): php70w-common-7.0.4-1.w7.x86_64.rpm               | 1.2 MB   00:13
(22/51): php70w-7.0.4-1.w7.x86_64.rpm                      | 2.8 MB   00:19
(23/51): php70w-embedded-7.0.4-1.w7.x86_64.rpm             | 1.4 MB   00:18
(24/51): php70w-gd-7.0.4-1.w7.x86_64.rpm                   | 135 kB   00:02
(25/51): php70w-devel-7.0.4-1.w7.x86_64.rpm                | 2.5 MB   00:35
(26/51): php70w-cli-7.0.4-1.w7.x86_64.rpm                  | 2.8 MB   00:40
(27/51): php70w-intl-7.0.4-1.w7.x86_64.rpm                 | 180 kB   00:01
(28/51): php70w-imap-7.0.4-1.w7.x86_64.rpm                 |  49 kB   00:01
(29/51): php70w-interbase-7.0.4-1.w7.x86_64.rpm            |  70 kB   00:02
(30/51): php70w-mbstring-7.0.4-1.w7.x86_64.rpm             | 540 kB   00:04
(31/51): php70w-mysqlnd-7.0.4-1.w7.x86_64.rpm              | 203 kB   00:04
(32/51): php70w-odbc-7.0.4-1.w7.x86_64.rpm                 |  49 kB   00:00
(33/51): php70w-pdo-7.0.4-1.w7.x86_64.rpm                  |  89 kB   00:00
(34/51): php70w-opcache-7.0.4-1.w7.x86_64.rpm              | 123 kB   00:01
(35/51): php70w-pdo_dblib-7.0.4-1.w7.x86_64.rpm            |  18 kB   00:00
(36/51): php70w-process-7.0.4-1.w7.x86_64.rpm              |  40 kB   00:00
(37/51): php70w-ldap-7.0.4-1.w7.x86_64.rpm                 |  33 kB   00:09
(38/51): php70w-pspell-7.0.4-1.w7.x86_64.rpm               |  17 kB   00:00
(39/51): php70w-recode-7.0.4-1.w7.x86_64.rpm               |  12 kB   00:00
(40/51): php70w-mcrypt-7.0.4-1.w7.x86_64.rpm               |  25 kB   00:07
(41/51): php70w-tidy-7.0.4-1.w7.x86_64.rpm                 |  29 kB   00:00
(42/51): php70w-xmlrpc-7.0.4-1.w7.x86_64.rpm               |  46 kB   00:00
(43/51): php70w-xml-7.0.4-1.w7.x86_64.rpm                  | 127 kB   00:01
unixODBC-2.3.1-11.el7.x86_64.r FAILED
http://mirror.bit.edu.cn/centos/7.2.1511/os/x86_64/Packages/unixODBC-2.3.1-11.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(44/51): php70w-fpm-7.0.4-1.w7.x86_64.rpm                  | 1.4 MB   00:40
libjpeg-turbo-1.2.90-5.el7.x86 FAILED
http://ftp.tc.edu.tw/Linux/CentOS/7.2.1511/os/x86_64/Packages/libjpeg-turbo-1.2.90-5.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(45/51): recode-3.6-38.el7.x86_64.rpm                      | 718 kB   00:08
pcre-devel-8.32-15.el7.x86_64. FAILED
http://ftp.tc.edu.tw/Linux/CentOS/7.2.1511/os/x86_64/Packages/pcre-devel-8.32-15.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
libxslt-1.1.28-5.el7.x86_64.rp FAILED
http://mirrors.sina.cn/centos/7.2.1511/os/x86_64/Packages/libxslt-1.1.28-5.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
perl-Test-Harness-3.28-3.el7.n FAILED
http://ftp.tc.edu.tw/Linux/CentOS/7.2.1511/os/x86_64/Packages/perl-Test-Harness-3.28-3.el7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
automake-1.13.4-3.el7.noarch.r FAILED
http://mirrors.sina.cn/centos/7.2.1511/os/x86_64/Packages/automake-1.13.4-3.el7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
unixODBC-2.3.1-11.el7.x86_64.r FAILED
http://ftp.tc.edu.tw/Linux/CentOS/7.2.1511/os/x86_64/Packages/unixODBC-2.3.1-11.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(46/51): libxslt-1.1.28-5.el7.x86_64.rpm                   | 242 kB   00:03
(47/51): pcre-devel-8.32-15.el7.x86_64.rpm                 | 478 kB   00:04
(48/51): libjpeg-turbo-1.2.90-5.el7.x86_64.rpm             | 134 kB   00:08
(49/51): automake-1.13.4-3.el7.noarch.rpm                  | 679 kB   00:05
(50/51): perl-Test-Harness-3.28-3.el7.noarch.rpm           | 302 kB   00:11
(51/51): unixODBC-2.3.1-11.el7.x86_64.rpm                  | 413 kB   00:10
--------------------------------------------------------------------------------
Total                                              225 kB/s |  28 MB  02:09
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-el7
Importing GPG key 0x62E74CA5:
 Userid     : "Webtatic EL7 <[email protected]>"
 Fingerprint: 830d b159 6d9b 9b01 99dc 24a3 e87f d236 62e7 4ca5
 Package    : webtatic-release-7-3.noarch (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-el7
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) <[email protected]>"
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-5.noarch (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : php70w-common-7.0.4-1.w7.x86_64                             1/51
  Installing : php70w-pdo-7.0.4-1.w7.x86_64                                2/51
  Installing : php70w-cli-7.0.4-1.w7.x86_64                                3/51
  Installing : libtool-ltdl-2.4.2-21.el7_2.x86_64                          4/51
  Installing : unixODBC-2.3.1-11.el7.x86_64                                5/51
  Installing : freetds-0.95.81-1.el7.x86_64                                6/51
  Installing : perl-Test-Harness-3.28-3.el7.noarch                         7/51
  Installing : libtidy-0.99.0-31.20091203.el7.x86_64                       8/51
  Installing : libXau-1.0.8-2.1.el7.x86_64                                 9/51
  Installing : libxcb-1.11-4.el7.x86_64                                   10/51
  Installing : libxslt-1.1.28-5.el7.x86_64                                11/51
  Installing : libc-client-2007f-4.el7.1.x86_64                           12/51
  Installing : firebird-libfbclient-2.5.5.26952.0-2.el7.x86_64            13/51
  Installing : libX11-common-1.6.3-2.el7.noarch                           14/51
  Installing : libX11-1.6.3-2.el7.x86_64                                  15/51
  Installing : libXpm-3.5.11-3.el7.x86_64                                 16/51
  Installing : 12:aspell-0.60.6.1-9.el7.x86_64                            17/51
  Installing : perl-Data-Dumper-2.145-3.el7.x86_64                        18/51
  Installing : perl-Thread-Queue-3.02-2.el7.noarch                        19/51
  Installing : libmcrypt-2.5.8-13.el7.x86_64                              20/51
  Installing : m4-1.4.16-10.el7.x86_64                                    21/51
  Installing : autoconf-2.69-11.el7.noarch                                22/51
  Installing : automake-1.13.4-3.el7.noarch                               23/51
  Installing : 2:libpng-1.5.13-7.el7_2.x86_64                             24/51
  Installing : recode-3.6-38.el7.x86_64                                   25/51
  Installing : pcre-devel-8.32-15.el7.x86_64                              26/51
  Installing : libjpeg-turbo-1.2.90-5.el7.x86_64                          27/51
  Installing : libicu-50.1.2-15.el7.x86_64                                28/51
  Installing : php70w-intl-7.0.4-1.w7.x86_64                              29/51
  Installing : php70w-gd-7.0.4-1.w7.x86_64                                30/51
  Installing : php70w-devel-7.0.4-1.w7.x86_64                             31/51
  Installing : php70w-recode-7.0.4-1.w7.x86_64                            32/51
  Installing : php70w-mcrypt-7.0.4-1.w7.x86_64                            33/51
  Installing : php70w-pspell-7.0.4-1.w7.x86_64                            34/51
  Installing : php70w-interbase-7.0.4-1.w7.x86_64                         35/51
  Installing : php70w-imap-7.0.4-1.w7.x86_64                              36/51
  Installing : php70w-xml-7.0.4-1.w7.x86_64                               37/51
  Installing : php70w-tidy-7.0.4-1.w7.x86_64                              38/51
  Installing : php70w-pdo_dblib-7.0.4-1.w7.x86_64                         39/51
  Installing : php70w-odbc-7.0.4-1.w7.x86_64                              40/51
  Installing : php70w-7.0.4-1.w7.x86_64                                   41/51
  Installing : php70w-mysqlnd-7.0.4-1.w7.x86_64                           42/51
  Installing : php70w-xmlrpc-7.0.4-1.w7.x86_64                            43/51
  Installing : php70w-dba-7.0.4-1.w7.x86_64                               44/51
  Installing : php70w-process-7.0.4-1.w7.x86_64                           45/51
  Installing : php70w-opcache-7.0.4-1.w7.x86_64                           46/51
  Installing : php70w-embedded-7.0.4-1.w7.x86_64                          47/51
  Installing : php70w-ldap-7.0.4-1.w7.x86_64                              48/51
  Installing : php70w-mbstring-7.0.4-1.w7.x86_64                          49/51
  Installing : php70w-fpm-7.0.4-1.w7.x86_64                               50/51
  Installing : php70w-bcmath-7.0.4-1.w7.x86_64                            51/51
  Verifying  : libicu-50.1.2-15.el7.x86_64                                 1/51
  Verifying  : php70w-7.0.4-1.w7.x86_64                                    2/51
  Verifying  : libjpeg-turbo-1.2.90-5.el7.x86_64                           3/51
  Verifying  : php70w-xmlrpc-7.0.4-1.w7.x86_64                             4/51
  Verifying  : php70w-mysqlnd-7.0.4-1.w7.x86_64                            5/51
  Verifying  : php70w-mcrypt-7.0.4-1.w7.x86_64                             6/51
  Verifying  : php70w-gd-7.0.4-1.w7.x86_64                                 7/51
  Verifying  : pcre-devel-8.32-15.el7.x86_64                               8/51
  Verifying  : recode-3.6-38.el7.x86_64                                    9/51
  Verifying  : libxcb-1.11-4.el7.x86_64                                   10/51
  Verifying  : 2:libpng-1.5.13-7.el7_2.x86_64                             11/51
  Verifying  : automake-1.13.4-3.el7.noarch                               12/51
  Verifying  : m4-1.4.16-10.el7.x86_64                                    13/51
  Verifying  : libmcrypt-2.5.8-13.el7.x86_64                              14/51
  Verifying  : php70w-pdo-7.0.4-1.w7.x86_64                               15/51
  Verifying  : php70w-imap-7.0.4-1.w7.x86_64                              16/51
  Verifying  : libX11-1.6.3-2.el7.x86_64                                  17/51
  Verifying  : php70w-dba-7.0.4-1.w7.x86_64                               18/51
  Verifying  : unixODBC-2.3.1-11.el7.x86_64                               19/51
  Verifying  : perl-Thread-Queue-3.02-2.el7.noarch                        20/51
  Verifying  : php70w-intl-7.0.4-1.w7.x86_64                              21/51
  Verifying  : php70w-recode-7.0.4-1.w7.x86_64                            22/51
  Verifying  : perl-Data-Dumper-2.145-3.el7.x86_64                        23/51
  Verifying  : php70w-process-7.0.4-1.w7.x86_64                           24/51
  Verifying  : php70w-cli-7.0.4-1.w7.x86_64                               25/51
  Verifying  : 12:aspell-0.60.6.1-9.el7.x86_64                            26/51
  Verifying  : php70w-opcache-7.0.4-1.w7.x86_64                           27/51
  Verifying  : php70w-devel-7.0.4-1.w7.x86_64                             28/51
  Verifying  : libX11-common-1.6.3-2.el7.noarch                           29/51
  Verifying  : firebird-libfbclient-2.5.5.26952.0-2.el7.x86_64            30/51
  Verifying  : libc-client-2007f-4.el7.1.x86_64                           31/51
  Verifying  : libtool-ltdl-2.4.2-21.el7_2.x86_64                         32/51
  Verifying  : php70w-odbc-7.0.4-1.w7.x86_64                              33/51
  Verifying  : libxslt-1.1.28-5.el7.x86_64                                34/51
  Verifying  : libXpm-3.5.11-3.el7.x86_64                                 35/51
  Verifying  : php70w-tidy-7.0.4-1.w7.x86_64                              36/51
  Verifying  : php70w-embedded-7.0.4-1.w7.x86_64                          37/51
  Verifying  : php70w-ldap-7.0.4-1.w7.x86_64                              38/51
  Verifying  : php70w-pdo_dblib-7.0.4-1.w7.x86_64                         39/51
  Verifying  : php70w-interbase-7.0.4-1.w7.x86_64                         40/51
  Verifying  : php70w-common-7.0.4-1.w7.x86_64                            41/51
  Verifying  : libXau-1.0.8-2.1.el7.x86_64                                42/51
  Verifying  : autoconf-2.69-11.el7.noarch                                43/51
  Verifying  : php70w-mbstring-7.0.4-1.w7.x86_64                          44/51
  Verifying  : freetds-0.95.81-1.el7.x86_64                               45/51
  Verifying  : libtidy-0.99.0-31.20091203.el7.x86_64                      46/51
  Verifying  : php70w-fpm-7.0.4-1.w7.x86_64                               47/51
  Verifying  : php70w-xml-7.0.4-1.w7.x86_64                               48/51
  Verifying  : php70w-bcmath-7.0.4-1.w7.x86_64                            49/51
  Verifying  : perl-Test-Harness-3.28-3.el7.noarch                        50/51
  Verifying  : php70w-pspell-7.0.4-1.w7.x86_64                            51/51

Installed:
  php70w.x86_64 0:7.0.4-1.w7             php70w-bcmath.x86_64 0:7.0.4-1.w7
  php70w-cli.x86_64 0:7.0.4-1.w7         php70w-common.x86_64 0:7.0.4-1.w7
  php70w-dba.x86_64 0:7.0.4-1.w7         php70w-devel.x86_64 0:7.0.4-1.w7
  php70w-embedded.x86_64 0:7.0.4-1.w7    php70w-fpm.x86_64 0:7.0.4-1.w7
  php70w-gd.x86_64 0:7.0.4-1.w7          php70w-imap.x86_64 0:7.0.4-1.w7
  php70w-interbase.x86_64 0:7.0.4-1.w7   php70w-intl.x86_64 0:7.0.4-1.w7
  php70w-ldap.x86_64 0:7.0.4-1.w7        php70w-mbstring.x86_64 0:7.0.4-1.w7
  php70w-mcrypt.x86_64 0:7.0.4-1.w7      php70w-mysqlnd.x86_64 0:7.0.4-1.w7
  php70w-odbc.x86_64 0:7.0.4-1.w7        php70w-opcache.x86_64 0:7.0.4-1.w7
  php70w-pdo.x86_64 0:7.0.4-1.w7         php70w-pdo_dblib.x86_64 0:7.0.4-1.w7
  php70w-process.x86_64 0:7.0.4-1.w7     php70w-pspell.x86_64 0:7.0.4-1.w7
  php70w-recode.x86_64 0:7.0.4-1.w7      php70w-tidy.x86_64 0:7.0.4-1.w7
  php70w-xml.x86_64 0:7.0.4-1.w7         php70w-xmlrpc.x86_64 0:7.0.4-1.w7

Dependency Installed:
  aspell.x86_64 12:0.60.6.1-9.el7
  autoconf.noarch 0:2.69-11.el7
  automake.noarch 0:1.13.4-3.el7
  firebird-libfbclient.x86_64 0:2.5.5.26952.0-2.el7
  freetds.x86_64 0:0.95.81-1.el7
  libX11.x86_64 0:1.6.3-2.el7
  libX11-common.noarch 0:1.6.3-2.el7
  libXau.x86_64 0:1.0.8-2.1.el7
  libXpm.x86_64 0:3.5.11-3.el7
  libc-client.x86_64 0:2007f-4.el7.1
  libicu.x86_64 0:50.1.2-15.el7
  libjpeg-turbo.x86_64 0:1.2.90-5.el7
  libmcrypt.x86_64 0:2.5.8-13.el7
  libpng.x86_64 2:1.5.13-7.el7_2
  libtidy.x86_64 0:0.99.0-31.20091203.el7
  libtool-ltdl.x86_64 0:2.4.2-21.el7_2
  libxcb.x86_64 0:1.11-4.el7
  libxslt.x86_64 0:1.1.28-5.el7
  m4.x86_64 0:1.4.16-10.el7
  pcre-devel.x86_64 0:8.32-15.el7
  perl-Data-Dumper.x86_64 0:2.145-3.el7
  perl-Test-Harness.noarch 0:3.28-3.el7
  perl-Thread-Queue.noarch 0:3.02-2.el7
  recode.x86_64 0:3.6-38.el7
  unixODBC.x86_64 0:2.3.1-11.el7

Complete!

Leave a Reply

Your email address will not be published. Required fields are marked *