CentOS7にyumでPHPをインストールする

CentOS Linux release 7.6.1810 (Core)環境にPHPをyumでインストールした時のログ

環境

[root@localhost ~]# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
Retrieving http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
Preparing...                          ################################# [100%]
        package remi-release-7.6-2.el7.remi.noarch is already installed
[root@localhost ~]# 

インストール

[root@localhost ~]# yum install --enablerepo=remi,remi-php71 php php-devel php-mbstring php-mysqlnd php-pdo php-gd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                          | 8.2 kB  00:00:00
 * base: ftp-srv2.kddilabs.jp
 * epel: ftp.jaist.ac.jp
 * extras: ftp-srv2.kddilabs.jp
 * remi: ftp.riken.jp
 * remi-php71: ftp.riken.jp
 * remi-safe: ftp.riken.jp
 * updates: ftp-srv2.kddilabs.jp
base                                                                                          | 3.6 kB  00:00:00
bintray--kong-kong-community-edition-rpm                                                      | 1.3 kB  00:00:00
extras                                                                                        | 3.4 kB  00:00:00
mariadb-main                                                                                  | 2.9 kB  00:00:00
mariadb-maxscale                                                                              | 2.4 kB  00:00:00
mariadb-tools                                                                                 | 2.9 kB  00:00:00
nginx                                                                                         | 2.9 kB  00:00:00
nodesource                                                                                    | 2.5 kB  00:00:00
pgdg10                                                                                        | 3.6 kB  00:00:00
pgdg11                                                                                        | 3.6 kB  00:00:00
pgdg94                                                                                        | 3.6 kB  00:00:00
pgdg95                                                                                        | 3.6 kB  00:00:00
pgdg96                                                                                        | 3.6 kB  00:00:00
remi                                                                                          | 3.0 kB  00:00:00
remi-php71                                                                                    | 3.0 kB  00:00:00
remi-safe                                                                                     | 3.0 kB  00:00:00
updates                                                                                       | 3.4 kB  00:00:00
(1/2): remi-php71/primary_db                                                                  | 239 kB  00:00:00
(2/2): remi/primary_db                                                                        | 2.5 MB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:7.1.30-1.el7.remi will be installed
--> Processing Dependency: php-cli(x86-64) = 7.1.30-1.el7.remi for package: php-7.1.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 7.1.30-1.el7.remi for package: php-7.1.30-1.el7.remi.x86_64
---> Package php-devel.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-devel.x86_64 0:7.1.30-1.el7.remi will be an update
--> Processing Dependency: libedit-devel(x86-64) for package: php-devel-7.1.30-1.el7.remi.x86_64
--> Processing Dependency: libxml2-devel(x86-64) for package: php-devel-7.1.30-1.el7.remi.x86_64
---> Package php-gd.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-gd.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package php-mbstring.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-mbstring.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package php-mysqlnd.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-mysqlnd.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package php-pdo.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-pdo.x86_64 0:7.1.30-1.el7.remi will be an update
--> Running transaction check
---> Package libedit-devel.x86_64 0:3.0-12.20121213cvs.el7 will be installed
--> Processing Dependency: ncurses-devel for package: libedit-devel-3.0-12.20121213cvs.el7.x86_64
---> Package libxml2-devel.x86_64 0:2.9.1-6.el7_2.3 will be installed
--> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7_2.3.x86_64
---> Package php-cli.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-cli.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package php-common.x86_64 0:7.1.27-1.el7.remi will be updated
--> Processing Dependency: php-common(x86-64) = 7.1.27-1.el7.remi for package: php-json-7.1.27-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 7.1.27-1.el7.remi for package: php-xml-7.1.27-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 7.1.27-1.el7.remi for package: php-bcmath-7.1.27-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 7.1.27-1.el7.remi for package: php-recode-7.1.27-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 7.1.27-1.el7.remi for package: php-gmp-7.1.27-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 7.1.27-1.el7.remi for package: php-process-7.1.27-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 7.1.27-1.el7.remi for package: php-intl-7.1.27-1.el7.remi.x86_64
---> Package php-common.x86_64 0:7.1.30-1.el7.remi will be an update
--> Running transaction check
---> Package ncurses-devel.x86_64 0:5.9-14.20130511.el7_4 will be installed
---> Package php-bcmath.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-bcmath.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package php-gmp.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-gmp.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package php-intl.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-intl.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package php-json.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-json.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package php-process.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-process.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package php-recode.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-recode.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package php-xml.x86_64 0:7.1.27-1.el7.remi will be updated
---> Package php-xml.x86_64 0:7.1.30-1.el7.remi will be an update
---> Package xz-devel.x86_64 0:5.2.2-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package                    Arch                Version                                Repository               Size
=====================================================================================================================
Installing:
 php                        x86_64              7.1.30-1.el7.remi                      remi-php71              3.0 M
Updating:
 php-devel                  x86_64              7.1.30-1.el7.remi                      remi-php71              1.1 M
 php-gd                     x86_64              7.1.30-1.el7.remi                      remi-php71               76 k
 php-mbstring               x86_64              7.1.30-1.el7.remi                      remi-php71              580 k
 php-mysqlnd                x86_64              7.1.30-1.el7.remi                      remi-php71              231 k
 php-pdo                    x86_64              7.1.30-1.el7.remi                      remi-php71              125 k
Installing for dependencies:
 libedit-devel              x86_64              3.0-12.20121213cvs.el7                 base                     32 k
 libxml2-devel              x86_64              2.9.1-6.el7_2.3                        base                    1.0 M
 ncurses-devel              x86_64              5.9-14.20130511.el7_4                  base                    712 k
 xz-devel                   x86_64              5.2.2-1.el7                            base                     46 k
Updating for dependencies:
 php-bcmath                 x86_64              7.1.30-1.el7.remi                      remi-php71               70 k
 php-cli                    x86_64              7.1.30-1.el7.remi                      remi-php71              4.6 M
 php-common                 x86_64              7.1.30-1.el7.remi                      remi-php71              1.0 M
 php-gmp                    x86_64              7.1.30-1.el7.remi                      remi-php71               68 k
 php-intl                   x86_64              7.1.30-1.el7.remi                      remi-php71              219 k
 php-json                   x86_64              7.1.30-1.el7.remi                      remi-php71               62 k
 php-process                x86_64              7.1.30-1.el7.remi                      remi-php71               79 k
 php-recode                 x86_64              7.1.30-1.el7.remi                      remi-php71               46 k
 php-xml                    x86_64              7.1.30-1.el7.remi                      remi-php71              210 k

Transaction Summary
=====================================================================================================================
Install  1 Package  (+4 Dependent packages)
Upgrade  5 Packages (+9 Dependent packages)

Total download size: 13 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/19): php-bcmath-7.1.30-1.el7.remi.x86_64.rpm                                               |  70 kB  00:00:00
(2/19): libedit-devel-3.0-12.20121213cvs.el7.x86_64.rpm                                       |  32 kB  00:00:00
(3/19): ncurses-devel-5.9-14.20130511.el7_4.x86_64.rpm                                        | 712 kB  00:00:00
(4/19): libxml2-devel-2.9.1-6.el7_2.3.x86_64.rpm                                              | 1.0 MB  00:00:00
(5/19): php-7.1.30-1.el7.remi.x86_64.rpm                                                      | 3.0 MB  00:00:01
(6/19): php-common-7.1.30-1.el7.remi.x86_64.rpm                                               | 1.0 MB  00:00:00
(7/19): php-cli-7.1.30-1.el7.remi.x86_64.rpm                                                  | 4.6 MB  00:00:00
(8/19): php-gd-7.1.30-1.el7.remi.x86_64.rpm                                                   |  76 kB  00:00:00
(9/19): php-gmp-7.1.30-1.el7.remi.x86_64.rpm                                                  |  68 kB  00:00:00
(10/19): php-devel-7.1.30-1.el7.remi.x86_64.rpm                                               | 1.1 MB  00:00:00
(11/19): php-intl-7.1.30-1.el7.remi.x86_64.rpm                                                | 219 kB  00:00:00
(12/19): php-json-7.1.30-1.el7.remi.x86_64.rpm                                                |  62 kB  00:00:00
(13/19): php-mysqlnd-7.1.30-1.el7.remi.x86_64.rpm                                             | 231 kB  00:00:00
(14/19): php-pdo-7.1.30-1.el7.remi.x86_64.rpm                                                 | 125 kB  00:00:00
(15/19): php-mbstring-7.1.30-1.el7.remi.x86_64.rpm                                            | 580 kB  00:00:00
(16/19): php-process-7.1.30-1.el7.remi.x86_64.rpm                                             |  79 kB  00:00:00
(17/19): php-recode-7.1.30-1.el7.remi.x86_64.rpm                                              |  46 kB  00:00:00
(18/19): php-xml-7.1.30-1.el7.remi.x86_64.rpm                                                 | 210 kB  00:00:00
(19/19): xz-devel-5.2.2-1.el7.x86_64.rpm                                                      |  46 kB  00:00:00
---------------------------------------------------------------------------------------------------------------------
Total                                                                                7.5 MB/s |  13 MB  00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : php-common-7.1.30-1.el7.remi.x86_64                                                              1/33
  Updating   : php-json-7.1.30-1.el7.remi.x86_64                                                                2/33
  Updating   : php-cli-7.1.30-1.el7.remi.x86_64                                                                 3/33
  Updating   : php-pdo-7.1.30-1.el7.remi.x86_64                                                                 4/33
  Installing : xz-devel-5.2.2-1.el7.x86_64                                                                      5/33
  Installing : libxml2-devel-2.9.1-6.el7_2.3.x86_64                                                             6/33
  Installing : ncurses-devel-5.9-14.20130511.el7_4.x86_64                                                       7/33
  Installing : libedit-devel-3.0-12.20121213cvs.el7.x86_64                                                      8/33
  Updating   : php-devel-7.1.30-1.el7.remi.x86_64                                                               9/33
  Updating   : php-mysqlnd-7.1.30-1.el7.remi.x86_64                                                            10/33
  Installing : php-7.1.30-1.el7.remi.x86_64                                                                    11/33
  Updating   : php-intl-7.1.30-1.el7.remi.x86_64                                                               12/33
  Updating   : php-recode-7.1.30-1.el7.remi.x86_64                                                             13/33
  Updating   : php-bcmath-7.1.30-1.el7.remi.x86_64                                                             14/33
  Updating   : php-gd-7.1.30-1.el7.remi.x86_64                                                                 15/33
  Updating   : php-xml-7.1.30-1.el7.remi.x86_64                                                                16/33
  Updating   : php-process-7.1.30-1.el7.remi.x86_64                                                            17/33
  Updating   : php-gmp-7.1.30-1.el7.remi.x86_64                                                                18/33
  Updating   : php-mbstring-7.1.30-1.el7.remi.x86_64                                                           19/33
  Cleanup    : php-devel-7.1.27-1.el7.remi.x86_64                                                              20/33
  Cleanup    : php-cli-7.1.27-1.el7.remi.x86_64                                                                21/33
  Cleanup    : php-mbstring-7.1.27-1.el7.remi.x86_64                                                           22/33
  Cleanup    : php-gmp-7.1.27-1.el7.remi.x86_64                                                                23/33
  Cleanup    : php-process-7.1.27-1.el7.remi.x86_64                                                            24/33
  Cleanup    : php-xml-7.1.27-1.el7.remi.x86_64                                                                25/33
  Cleanup    : php-mysqlnd-7.1.27-1.el7.remi.x86_64                                                            26/33
  Cleanup    : php-pdo-7.1.27-1.el7.remi.x86_64                                                                27/33
  Cleanup    : php-gd-7.1.27-1.el7.remi.x86_64                                                                 28/33
  Cleanup    : php-bcmath-7.1.27-1.el7.remi.x86_64                                                             29/33
  Cleanup    : php-recode-7.1.27-1.el7.remi.x86_64                                                             30/33
  Cleanup    : php-intl-7.1.27-1.el7.remi.x86_64                                                               31/33
  Cleanup    : php-json-7.1.27-1.el7.remi.x86_64                                                               32/33
  Cleanup    : php-common-7.1.27-1.el7.remi.x86_64                                                             33/33
  Verifying  : php-7.1.30-1.el7.remi.x86_64                                                                     1/33
  Verifying  : php-intl-7.1.30-1.el7.remi.x86_64                                                                2/33
  Verifying  : php-recode-7.1.30-1.el7.remi.x86_64                                                              3/33
  Verifying  : php-bcmath-7.1.30-1.el7.remi.x86_64                                                              4/33
  Verifying  : libxml2-devel-2.9.1-6.el7_2.3.x86_64                                                             5/33
  Verifying  : php-cli-7.1.30-1.el7.remi.x86_64                                                                 6/33
  Verifying  : ncurses-devel-5.9-14.20130511.el7_4.x86_64                                                       7/33
  Verifying  : php-devel-7.1.30-1.el7.remi.x86_64                                                               8/33
  Verifying  : php-json-7.1.30-1.el7.remi.x86_64                                                                9/33
  Verifying  : php-common-7.1.30-1.el7.remi.x86_64                                                             10/33
  Verifying  : php-gd-7.1.30-1.el7.remi.x86_64                                                                 11/33
  Verifying  : php-mysqlnd-7.1.30-1.el7.remi.x86_64                                                            12/33
  Verifying  : php-xml-7.1.30-1.el7.remi.x86_64                                                                13/33
  Verifying  : php-process-7.1.30-1.el7.remi.x86_64                                                            14/33
  Verifying  : xz-devel-5.2.2-1.el7.x86_64                                                                     15/33
  Verifying  : libedit-devel-3.0-12.20121213cvs.el7.x86_64                                                     16/33
  Verifying  : php-pdo-7.1.30-1.el7.remi.x86_64                                                                17/33
  Verifying  : php-gmp-7.1.30-1.el7.remi.x86_64                                                                18/33
  Verifying  : php-mbstring-7.1.30-1.el7.remi.x86_64                                                           19/33
  Verifying  : php-xml-7.1.27-1.el7.remi.x86_64                                                                20/33
  Verifying  : php-common-7.1.27-1.el7.remi.x86_64                                                             21/33
  Verifying  : php-intl-7.1.27-1.el7.remi.x86_64                                                               22/33
  Verifying  : php-cli-7.1.27-1.el7.remi.x86_64                                                                23/33
  Verifying  : php-recode-7.1.27-1.el7.remi.x86_64                                                             24/33
  Verifying  : php-mbstring-7.1.27-1.el7.remi.x86_64                                                           25/33
  Verifying  : php-bcmath-7.1.27-1.el7.remi.x86_64                                                             26/33
  Verifying  : php-devel-7.1.27-1.el7.remi.x86_64                                                              27/33
  Verifying  : php-gmp-7.1.27-1.el7.remi.x86_64                                                                28/33
  Verifying  : php-json-7.1.27-1.el7.remi.x86_64                                                               29/33
  Verifying  : php-gd-7.1.27-1.el7.remi.x86_64                                                                 30/33
  Verifying  : php-mysqlnd-7.1.27-1.el7.remi.x86_64                                                            31/33
  Verifying  : php-process-7.1.27-1.el7.remi.x86_64                                                            32/33
  Verifying  : php-pdo-7.1.27-1.el7.remi.x86_64                                                                33/33

Installed:
  php.x86_64 0:7.1.30-1.el7.remi

Dependency Installed:
  libedit-devel.x86_64 0:3.0-12.20121213cvs.el7                libxml2-devel.x86_64 0:2.9.1-6.el7_2.3
  ncurses-devel.x86_64 0:5.9-14.20130511.el7_4                 xz-devel.x86_64 0:5.2.2-1.el7

Updated:
  php-devel.x86_64 0:7.1.30-1.el7.remi   php-gd.x86_64 0:7.1.30-1.el7.remi  php-mbstring.x86_64 0:7.1.30-1.el7.remi
  php-mysqlnd.x86_64 0:7.1.30-1.el7.remi php-pdo.x86_64 0:7.1.30-1.el7.remi

Dependency Updated:
  php-bcmath.x86_64 0:7.1.30-1.el7.remi  php-cli.x86_64 0:7.1.30-1.el7.remi    php-common.x86_64 0:7.1.30-1.el7.remi
  php-gmp.x86_64 0:7.1.30-1.el7.remi     php-intl.x86_64 0:7.1.30-1.el7.remi   php-json.x86_64 0:7.1.30-1.el7.remi
  php-process.x86_64 0:7.1.30-1.el7.remi php-recode.x86_64 0:7.1.30-1.el7.remi php-xml.x86_64 0:7.1.30-1.el7.remi

Complete!
[root@localhost ~]#

 

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です