今回はPHP、php-fpmの設定を行います。
目次
インストール。
remiリポジトリの公開鍵を取り込む。
# rpm --import https://rpms.remirepo.net/RPM-GPG-KEY-remi
remiリポジトリの追加とコマンドをインストールする。
# yum install yum-utils https://rpms.remirepo.net/enterprise/remi-release-7.rpm
# yum install yum-utils https://rpms.remirepo.net/enterprise/remi-release-7.rpm 読み込んだプラグイン:fastestmirror Loading mirror speeds from cached hostfile * base: ftp.tsukuba.wide.ad.jp * epel: mirror.dmmlabs.jp * extras: ftp.tsukuba.wide.ad.jp * updates: ftp.tsukuba.wide.ad.jp remi-release-7.rpm | 15 kB 00:00:00 /var/tmp/yum-root-F3cKZH/remi-release-7.rpm を調べています: remi-release-7.5-2.el7.remi.noarch /var/tmp/yum-root-F3cKZH/remi-release-7.rpm をインストール済みとして設定しています 依存性の解決をしています --> トランザクションの確認を実行しています。 ---> パッケージ remi-release.noarch 0:7.5-2.el7.remi を インストール ---> パッケージ yum-utils.noarch 0:1.1.31-46.el7_5 を インストール --> 依存性の処理をしています: python-kitchen のパッケージ: yum-utils-1.1.31-46.el7_5.noarch --> 依存性の処理をしています: libxml2-python のパッケージ: yum-utils-1.1.31-46.el7_5.noarch --> トランザクションの確認を実行しています。 ---> パッケージ libxml2-python.x86_64 0:2.9.1-6.el7_2.3 を インストール ---> パッケージ python-kitchen.noarch 0:1.1.1-5.el7 を インストール --> 依存性の処理をしています: python-chardet のパッケージ: python-kitchen-1.1.1-5.el7.noarch --> トランザクションの確認を実行しています。 ---> パッケージ python-chardet.noarch 0:2.2.1-1.el7_1 を インストール --> 依存性解決を終了しました。 依存性を解決しました ======================================================================================================================================== Package アーキテクチャー バージョン リポジトリー 容量 ======================================================================================================================================== インストール中: remi-release noarch 7.5-2.el7.remi /remi-release-7 18 k yum-utils noarch 1.1.31-46.el7_5 updates 120 k 依存性関連でのインストールをします: libxml2-python x86_64 2.9.1-6.el7_2.3 base 247 k python-chardet noarch 2.2.1-1.el7_1 base 227 k python-kitchen noarch 1.1.1-5.el7 base 267 k トランザクションの要約 ======================================================================================================================================== インストール 2 パッケージ (+3 個の依存関係のパッケージ) 合計容量: 878 k 総ダウンロード容量: 860 k インストール容量: 4.3 M Is this ok [y/d/N]: y Downloading packages: (1/4): libxml2-python-2.9.1-6.el7_2.3.x86_64.rpm | 247 kB 00:00:00 (2/4): python-chardet-2.2.1-1.el7_1.noarch.rpm | 227 kB 00:00:00 (3/4): yum-utils-1.1.31-46.el7_5.noarch.rpm | 120 kB 00:00:00 (4/4): python-kitchen-1.1.1-5.el7.noarch.rpm | 267 kB 00:00:00 ---------------------------------------------------------------------------------------------------------------------------------------- 合計 1.1 MB/s | 860 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction インストール中 : python-chardet-2.2.1-1.el7_1.noarch 1/5 インストール中 : python-kitchen-1.1.1-5.el7.noarch 2/5 インストール中 : libxml2-python-2.9.1-6.el7_2.3.x86_64 3/5 インストール中 : yum-utils-1.1.31-46.el7_5.noarch 4/5 インストール中 : remi-release-7.5-2.el7.remi.noarch 5/5 検証中 : libxml2-python-2.9.1-6.el7_2.3.x86_64 1/5 検証中 : remi-release-7.5-2.el7.remi.noarch 2/5 検証中 : python-kitchen-1.1.1-5.el7.noarch 3/5 検証中 : yum-utils-1.1.31-46.el7_5.noarch 4/5 検証中 : python-chardet-2.2.1-1.el7_1.noarch 5/5 インストール: remi-release.noarch 0:7.5-2.el7.remi yum-utils.noarch 0:1.1.31-46.el7_5 依存性関連をインストールしました: libxml2-python.x86_64 0:2.9.1-6.el7_2.3 python-chardet.noarch 0:2.2.1-1.el7_1 python-kitchen.noarch 0:1.1.1-5.el7 完了しました!
php 7.1(php-fpm)をインストールする。
# yum install -y --enablerepo=remi-php71 php php-fpm php-imagick php-pdo php-mysqlnd php-xml php-posix php-intl php-opcache php-pecl-apcu
読み込んだプラグイン:fastestmirror Loading mirror speeds from cached hostfile * base: ftp.yz.yamagata-u.ac.jp * epel: mirror.dmmlabs.jp * extras: ftp.yz.yamagata-u.ac.jp * remi-php71: ftp.riken.jp * remi-safe: ftp.riken.jp * updates: ftp.yz.yamagata-u.ac.jp remi-php71 | 2.9 kB 00:00:00 remi-php71/primary_db | 221 kB 00:00:00 依存性の解決をしています --> トランザクションの確認を実行しています。 ---> パッケージ php.x86_64 0:7.1.20-1.el7.remi を インストール --> 依存性の処理をしています: php-common(x86-64) = 7.1.20-1.el7.remi のパッケージ: php-7.1.20-1.el7.remi.x86_64 --> 依存性の処理をしています: php-cli(x86-64) = 7.1.20-1.el7.remi のパッケージ: php-7.1.20-1.el7.remi.x86_64 ---> パッケージ php-fpm.x86_64 0:7.1.20-1.el7.remi を インストール ---> パッケージ php-intl.x86_64 0:7.1.20-1.el7.remi を インストール ---> パッケージ php-mysqlnd.x86_64 0:7.1.20-1.el7.remi を インストール ---> パッケージ php-opcache.x86_64 0:7.1.20-1.el7.remi を インストール ---> パッケージ php-pdo.x86_64 0:7.1.20-1.el7.remi を インストール ---> パッケージ php-pecl-apcu.x86_64 0:5.1.12-1.el7.remi.7.1 を インストール ---> パッケージ php-pecl-imagick.x86_64 0:3.4.3-9.el7.remi.7.1 を インストール --> 依存性の処理をしています: ImageMagick6-libs(x86-64) >= 6.9.9 のパッケージ: php-pecl-imagick-3.4.3-9.el7.remi.7.1.x86_64 --> 依存性の処理をしています: libMagickWand-6.Q16.so.6()(64bit) のパッケージ: php-pecl-imagick-3.4.3-9.el7.remi.7.1.x86_64 --> 依存性の処理をしています: libMagickCore-6.Q16.so.6()(64bit) のパッケージ: php-pecl-imagick-3.4.3-9.el7.remi.7.1.x86_64 ---> パッケージ php-process.x86_64 0:7.1.20-1.el7.remi を インストール ---> パッケージ php-xml.x86_64 0:7.1.20-1.el7.remi を インストール --> トランザクションの確認を実行しています。 ---> パッケージ ImageMagick6-libs.x86_64 0:6.9.10.7-1.el7.remi を インストール --> 依存性の処理をしています: libtiff.so.5(LIBTIFF_4.0)(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libpng15.so.15(PNG15_0)(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libjpeg.so.62(LIBJPEG_6.2)(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libwmflite-0.2.so.7()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libwebp.so.4()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libtiff.so.5()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: librsvg-2.so.2()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libraw.so.5()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libraqm.so.0()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libpng15.so.15()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libpangocairo-1.0.so.0()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libpango-1.0.so.0()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libltdl.so.7()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: liblcms2.so.2()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libjpeg.so.62()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libjbig.so.2.0()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libgvc.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libgs.so.9()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libgdk_pixbuf-2.0.so.0()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libfontconfig.so.1()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libfftw3.so.3()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libcgraph.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libcdt.so.5()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libcairo.so.2()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libXt.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libXext.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libX11.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libSM.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libImath.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libIlmThread.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libIlmImf.so.7()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libIexMath.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libIex.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libICE.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 --> 依存性の処理をしています: libHalf.so.6()(64bit) のパッケージ: ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 ---> パッケージ php-cli.x86_64 0:5.4.16-45.el7 を 更新 ---> パッケージ php-cli.x86_64 0:7.1.20-1.el7.remi を アップデート ---> パッケージ php-common.x86_64 0:5.4.16-45.el7 を 更新 --> 依存性の処理をしています: php-json(x86-64) = 7.1.20-1.el7.remi のパッケージ: php-common-7.1.20-1.el7.remi.x86_64 ---> パッケージ php-common.x86_64 0:7.1.20-1.el7.remi を アップデート --> トランザクションの確認を実行しています。 ---> パッケージ LibRaw.x86_64 0:0.14.8-5.el7.20120830git98d925 を インストール --> 依存性の処理をしています: libjasper.so.1()(64bit) のパッケージ: LibRaw-0.14.8-5.el7.20120830git98d925.x86_64 ---> パッケージ OpenEXR-libs.x86_64 0:1.7.1-7.el7 を インストール ---> パッケージ cairo.x86_64 0:1.14.8-2.el7 を インストール --> 依存性の処理をしています: libxcb.so.1()(64bit) のパッケージ: cairo-1.14.8-2.el7.x86_64 --> 依存性の処理をしています: libxcb-shm.so.0()(64bit) のパッケージ: cairo-1.14.8-2.el7.x86_64 --> 依存性の処理をしています: libxcb-render.so.0()(64bit) のパッケージ: cairo-1.14.8-2.el7.x86_64 --> 依存性の処理をしています: libpixman-1.so.0()(64bit) のパッケージ: cairo-1.14.8-2.el7.x86_64 --> 依存性の処理をしています: libXrender.so.1()(64bit) のパッケージ: cairo-1.14.8-2.el7.x86_64 --> 依存性の処理をしています: libGL.so.1()(64bit) のパッケージ: cairo-1.14.8-2.el7.x86_64 --> 依存性の処理をしています: libEGL.so.1()(64bit) のパッケージ: cairo-1.14.8-2.el7.x86_64 ---> パッケージ fftw-libs-double.x86_64 0:3.3.3-8.el7 を インストール ---> パッケージ fontconfig.x86_64 0:2.10.95-11.el7 を インストール --> 依存性の処理をしています: fontpackages-filesystem のパッケージ: fontconfig-2.10.95-11.el7.x86_64 --> 依存性の処理をしています: font(:lang=en) のパッケージ: fontconfig-2.10.95-11.el7.x86_64 ---> パッケージ gdk-pixbuf2.x86_64 0:2.36.5-1.el7 を インストール ---> パッケージ ghostscript.x86_64 0:9.07-28.el7_4.2 を インストール --> 依存性の処理をしています: urw-fonts >= 1.1 のパッケージ: ghostscript-9.07-28.el7_4.2.x86_64 --> 依存性の処理をしています: poppler-data のパッケージ: ghostscript-9.07-28.el7_4.2.x86_64 --> 依存性の処理をしています: ghostscript-fonts のパッケージ: ghostscript-9.07-28.el7_4.2.x86_64 --> 依存性の処理をしています: libcupsimage.so.2()(64bit) のパッケージ: ghostscript-9.07-28.el7_4.2.x86_64 --> 依存性の処理をしています: libcups.so.2()(64bit) のパッケージ: ghostscript-9.07-28.el7_4.2.x86_64 ---> パッケージ graphviz.x86_64 0:2.30.1-21.el7 を インストール --> 依存性の処理をしています: libgtk-x11-2.0.so.0()(64bit) のパッケージ: graphviz-2.30.1-21.el7.x86_64 --> 依存性の処理をしています: libgdk-x11-2.0.so.0()(64bit) のパッケージ: graphviz-2.30.1-21.el7.x86_64 --> 依存性の処理をしています: libgd.so.2()(64bit) のパッケージ: graphviz-2.30.1-21.el7.x86_64 --> 依存性の処理をしています: libatk-1.0.so.0()(64bit) のパッケージ: graphviz-2.30.1-21.el7.x86_64 --> 依存性の処理をしています: libXpm.so.4()(64bit) のパッケージ: graphviz-2.30.1-21.el7.x86_64 --> 依存性の処理をしています: libXmu.so.6()(64bit) のパッケージ: graphviz-2.30.1-21.el7.x86_64 --> 依存性の処理をしています: libXaw.so.7()(64bit) のパッケージ: graphviz-2.30.1-21.el7.x86_64 ---> パッケージ ilmbase.x86_64 0:1.0.3-7.el7 を インストール ---> パッケージ jbigkit-libs.x86_64 0:2.0-11.el7 を インストール ---> パッケージ lcms2.x86_64 0:2.6-3.el7 を インストール ---> パッケージ libICE.x86_64 0:1.0.9-9.el7 を インストール ---> パッケージ libSM.x86_64 0:1.2.2-2.el7 を インストール ---> パッケージ libX11.x86_64 0:1.6.5-1.el7 を インストール --> 依存性の処理をしています: libX11-common >= 1.6.5-1.el7 のパッケージ: libX11-1.6.5-1.el7.x86_64 ---> パッケージ libXext.x86_64 0:1.3.3-3.el7 を インストール ---> パッケージ libXt.x86_64 0:1.1.5-3.el7 を インストール ---> パッケージ libjpeg-turbo.x86_64 0:1.2.90-5.el7 を インストール ---> パッケージ libpng.x86_64 2:1.5.13-7.el7_2 を インストール ---> パッケージ libraqm.x86_64 0:0.1.1-1.el7 を インストール --> 依存性の処理をしています: libharfbuzz.so.0()(64bit) のパッケージ: libraqm-0.1.1-1.el7.x86_64 --> 依存性の処理をしています: libfribidi.so.0()(64bit) のパッケージ: libraqm-0.1.1-1.el7.x86_64 ---> パッケージ librsvg2.x86_64 0:2.40.16-1.el7 を インストール ---> パッケージ libtiff.x86_64 0:4.0.3-27.el7_3 を インストール ---> パッケージ libtool-ltdl.x86_64 0:2.4.2-22.el7_3 を インストール ---> パッケージ libwebp.x86_64 0:0.3.0-7.el7 を インストール ---> パッケージ libwmf-lite.x86_64 0:0.2.8.4-41.el7_1 を インストール ---> パッケージ pango.x86_64 0:1.40.4-1.el7 を インストール --> 依存性の処理をしています: libthai(x86-64) >= 0.1.9 のパッケージ: pango-1.40.4-1.el7.x86_64 --> 依存性の処理をしています: libXft(x86-64) >= 2.0.0 のパッケージ: pango-1.40.4-1.el7.x86_64 --> 依存性の処理をしています: libthai.so.0(LIBTHAI_0.1)(64bit) のパッケージ: pango-1.40.4-1.el7.x86_64 --> 依存性の処理をしています: libthai.so.0()(64bit) のパッケージ: pango-1.40.4-1.el7.x86_64 --> 依存性の処理をしています: libXft.so.2()(64bit) のパッケージ: pango-1.40.4-1.el7.x86_64 ---> パッケージ php-json.x86_64 0:7.1.20-1.el7.remi を インストール --> トランザクションの確認を実行しています。 ---> パッケージ atk.x86_64 0:2.22.0-3.el7 を インストール ---> パッケージ cups-libs.x86_64 1:1.6.3-35.el7 を インストール ---> パッケージ fontpackages-filesystem.noarch 0:1.44-8.el7 を インストール ---> パッケージ fribidi.x86_64 0:0.19.4-6.el7 を インストール ---> パッケージ gd.x86_64 0:2.0.35-26.el7 を インストール ---> パッケージ ghostscript-fonts.noarch 0:5.50-32.el7 を インストール --> 依存性の処理をしています: xorg-x11-font-utils のパッケージ: ghostscript-fonts-5.50-32.el7.noarch ---> パッケージ gtk2.x86_64 0:2.24.31-1.el7 を インストール --> 依存性の処理をしています: libXrandr >= 1.2.99.4-2 のパッケージ: gtk2-2.24.31-1.el7.x86_64 --> 依存性の処理をしています: hicolor-icon-theme のパッケージ: gtk2-2.24.31-1.el7.x86_64 --> 依存性の処理をしています: gtk-update-icon-cache のパッケージ: gtk2-2.24.31-1.el7.x86_64 --> 依存性の処理をしています: libXrandr.so.2()(64bit) のパッケージ: gtk2-2.24.31-1.el7.x86_64 --> 依存性の処理をしています: libXinerama.so.1()(64bit) のパッケージ: gtk2-2.24.31-1.el7.x86_64 --> 依存性の処理をしています: libXi.so.6()(64bit) のパッケージ: gtk2-2.24.31-1.el7.x86_64 --> 依存性の処理をしています: libXfixes.so.3()(64bit) のパッケージ: gtk2-2.24.31-1.el7.x86_64 --> 依存性の処理をしています: libXdamage.so.1()(64bit) のパッケージ: gtk2-2.24.31-1.el7.x86_64 --> 依存性の処理をしています: libXcursor.so.1()(64bit) のパッケージ: gtk2-2.24.31-1.el7.x86_64 --> 依存性の処理をしています: libXcomposite.so.1()(64bit) のパッケージ: gtk2-2.24.31-1.el7.x86_64 ---> パッケージ harfbuzz.x86_64 0:1.3.2-1.el7 を インストール --> 依存性の処理をしています: libgraphite2.so.3()(64bit) のパッケージ: harfbuzz-1.3.2-1.el7.x86_64 ---> パッケージ jasper-libs.x86_64 0:1.900.1-31.el7 を インストール ---> パッケージ libX11-common.noarch 0:1.6.5-1.el7 を インストール ---> パッケージ libXaw.x86_64 0:1.0.13-4.el7 を インストール ---> パッケージ libXft.x86_64 0:2.3.2-2.el7 を インストール ---> パッケージ libXmu.x86_64 0:1.1.2-2.el7 を インストール ---> パッケージ libXpm.x86_64 0:3.5.12-1.el7 を インストール ---> パッケージ libXrender.x86_64 0:0.9.10-1.el7 を インストール ---> パッケージ libthai.x86_64 0:0.1.14-9.el7 を インストール ---> パッケージ libxcb.x86_64 0:1.12-1.el7 を インストール --> 依存性の処理をしています: libXau.so.6()(64bit) のパッケージ: libxcb-1.12-1.el7.x86_64 ---> パッケージ lyx-fonts.noarch 0:2.2.3-1.el7 を インストール ---> パッケージ mesa-libEGL.x86_64 0:17.2.3-8.20171019.el7 を インストール --> 依存性の処理をしています: mesa-libgbm = 17.2.3-8.20171019.el7 のパッケージ: mesa-libEGL-17.2.3-8.20171019.el7.x86_64 --> 依存性の処理をしています: libxshmfence.so.1()(64bit) のパッケージ: mesa-libEGL-17.2.3-8.20171019.el7.x86_64 --> 依存性の処理をしています: libwayland-server.so.0()(64bit) のパッケージ: mesa-libEGL-17.2.3-8.20171019.el7.x86_64 --> 依存性の処理をしています: libwayland-client.so.0()(64bit) のパッケージ: mesa-libEGL-17.2.3-8.20171019.el7.x86_64 --> 依存性の処理をしています: libgbm.so.1()(64bit) のパッケージ: mesa-libEGL-17.2.3-8.20171019.el7.x86_64 ---> パッケージ mesa-libGL.x86_64 0:17.2.3-8.20171019.el7 を インストール --> 依存性の処理をしています: mesa-libglapi = 17.2.3-8.20171019.el7 のパッケージ: mesa-libGL-17.2.3-8.20171019.el7.x86_64 --> 依存性の処理をしています: libglapi.so.0()(64bit) のパッケージ: mesa-libGL-17.2.3-8.20171019.el7.x86_64 --> 依存性の処理をしています: libXxf86vm.so.1()(64bit) のパッケージ: mesa-libGL-17.2.3-8.20171019.el7.x86_64 ---> パッケージ pixman.x86_64 0:0.34.0-1.el7 を インストール ---> パッケージ poppler-data.noarch 0:0.4.6-3.el7 を インストール ---> パッケージ urw-fonts.noarch 0:2.4-16.el7 を インストール --> トランザクションの確認を実行しています。 ---> パッケージ graphite2.x86_64 0:1.3.10-1.el7_3 を インストール ---> パッケージ gtk-update-icon-cache.x86_64 0:3.22.26-4.el7_5 を インストール ---> パッケージ hicolor-icon-theme.noarch 0:0.12-7.el7 を インストール ---> パッケージ libXau.x86_64 0:1.0.8-2.1.el7 を インストール ---> パッケージ libXcomposite.x86_64 0:0.4.4-4.1.el7 を インストール ---> パッケージ libXcursor.x86_64 0:1.1.14-8.el7 を インストール ---> パッケージ libXdamage.x86_64 0:1.1.4-4.1.el7 を インストール ---> パッケージ libXfixes.x86_64 0:5.0.3-1.el7 を インストール ---> パッケージ libXi.x86_64 0:1.7.9-1.el7 を インストール ---> パッケージ libXinerama.x86_64 0:1.1.3-2.1.el7 を インストール ---> パッケージ libXrandr.x86_64 0:1.5.1-2.el7 を インストール ---> パッケージ libXxf86vm.x86_64 0:1.1.4-1.el7 を インストール ---> パッケージ libwayland-client.x86_64 0:1.14.0-2.el7 を インストール ---> パッケージ libwayland-server.x86_64 0:1.14.0-2.el7 を インストール ---> パッケージ libxshmfence.x86_64 0:1.2-1.el7 を インストール ---> パッケージ mesa-libgbm.x86_64 0:17.2.3-8.20171019.el7 を インストール ---> パッケージ mesa-libglapi.x86_64 0:17.2.3-8.20171019.el7 を インストール ---> パッケージ xorg-x11-font-utils.x86_64 1:7.5-20.el7 を インストール --> 依存性の処理をしています: libfontenc.so.1()(64bit) のパッケージ: 1:xorg-x11-font-utils-7.5-20.el7.x86_64 --> 依存性の処理をしています: libXfont.so.1()(64bit) のパッケージ: 1:xorg-x11-font-utils-7.5-20.el7.x86_64 --> トランザクションの確認を実行しています。 ---> パッケージ libXfont.x86_64 0:1.5.2-1.el7 を インストール ---> パッケージ libfontenc.x86_64 0:1.1.3-3.el7 を インストール --> 依存性解決を終了しました。 依存性を解決しました ================================================================================================================================ Package アーキテクチャー バージョン リポジトリー 容量 ================================================================================================================================ インストール中: php x86_64 7.1.20-1.el7.remi remi-php71 3.0 M php-fpm x86_64 7.1.20-1.el7.remi remi-php71 1.6 M php-intl x86_64 7.1.20-1.el7.remi remi-php71 214 k php-mysqlnd x86_64 7.1.20-1.el7.remi remi-php71 231 k php-opcache x86_64 7.1.20-1.el7.remi remi-php71 241 k php-pdo x86_64 7.1.20-1.el7.remi remi-php71 123 k php-pecl-apcu x86_64 5.1.12-1.el7.remi.7.1 remi-php71 76 k php-pecl-imagick x86_64 3.4.3-9.el7.remi.7.1 remi-php71 155 k php-process x86_64 7.1.20-1.el7.remi remi-php71 77 k php-xml x86_64 7.1.20-1.el7.remi remi-php71 208 k 依存性関連でのインストールをします: ImageMagick6-libs x86_64 6.9.10.7-1.el7.remi remi-safe 2.4 M LibRaw x86_64 0.14.8-5.el7.20120830git98d925 base 250 k OpenEXR-libs x86_64 1.7.1-7.el7 base 217 k atk x86_64 2.22.0-3.el7 base 258 k cairo x86_64 1.14.8-2.el7 base 713 k cups-libs x86_64 1:1.6.3-35.el7 base 357 k fftw-libs-double x86_64 3.3.3-8.el7 base 759 k fontconfig x86_64 2.10.95-11.el7 base 229 k fontpackages-filesystem noarch 1.44-8.el7 base 9.9 k fribidi x86_64 0.19.4-6.el7 base 63 k gd x86_64 2.0.35-26.el7 base 146 k gdk-pixbuf2 x86_64 2.36.5-1.el7 base 567 k ghostscript x86_64 9.07-28.el7_4.2 base 4.3 M ghostscript-fonts noarch 5.50-32.el7 base 324 k graphite2 x86_64 1.3.10-1.el7_3 base 115 k graphviz x86_64 2.30.1-21.el7 base 1.3 M gtk-update-icon-cache x86_64 3.22.26-4.el7_5 updates 27 k gtk2 x86_64 2.24.31-1.el7 base 3.4 M harfbuzz x86_64 1.3.2-1.el7 base 177 k hicolor-icon-theme noarch 0.12-7.el7 base 42 k ilmbase x86_64 1.0.3-7.el7 base 100 k jasper-libs x86_64 1.900.1-31.el7 base 150 k jbigkit-libs x86_64 2.0-11.el7 base 46 k lcms2 x86_64 2.6-3.el7 base 150 k libICE x86_64 1.0.9-9.el7 base 66 k libSM x86_64 1.2.2-2.el7 base 39 k libX11 x86_64 1.6.5-1.el7 base 606 k libX11-common noarch 1.6.5-1.el7 base 164 k libXau x86_64 1.0.8-2.1.el7 base 29 k libXaw x86_64 1.0.13-4.el7 base 192 k libXcomposite x86_64 0.4.4-4.1.el7 base 22 k libXcursor x86_64 1.1.14-8.el7 base 30 k libXdamage x86_64 1.1.4-4.1.el7 base 20 k libXext x86_64 1.3.3-3.el7 base 39 k libXfixes x86_64 5.0.3-1.el7 base 18 k libXfont x86_64 1.5.2-1.el7 base 152 k libXft x86_64 2.3.2-2.el7 base 58 k libXi x86_64 1.7.9-1.el7 base 40 k libXinerama x86_64 1.1.3-2.1.el7 base 14 k libXmu x86_64 1.1.2-2.el7 base 71 k libXpm x86_64 3.5.12-1.el7 base 55 k libXrandr x86_64 1.5.1-2.el7 base 27 k libXrender x86_64 0.9.10-1.el7 base 26 k libXt x86_64 1.1.5-3.el7 base 173 k libXxf86vm x86_64 1.1.4-1.el7 base 18 k libfontenc x86_64 1.1.3-3.el7 base 31 k libjpeg-turbo x86_64 1.2.90-5.el7 base 134 k libpng x86_64 2:1.5.13-7.el7_2 base 213 k libraqm x86_64 0.1.1-1.el7 epel 12 k librsvg2 x86_64 2.40.16-1.el7 base 128 k libthai x86_64 0.1.14-9.el7 base 187 k libtiff x86_64 4.0.3-27.el7_3 base 170 k libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k libwayland-client x86_64 1.14.0-2.el7 base 32 k libwayland-server x86_64 1.14.0-2.el7 base 38 k libwebp x86_64 0.3.0-7.el7 base 170 k libwmf-lite x86_64 0.2.8.4-41.el7_1 base 66 k libxcb x86_64 1.12-1.el7 base 211 k libxshmfence x86_64 1.2-1.el7 base 7.2 k lyx-fonts noarch 2.2.3-1.el7 epel 159 k mesa-libEGL x86_64 17.2.3-8.20171019.el7 base 96 k mesa-libGL x86_64 17.2.3-8.20171019.el7 base 156 k mesa-libgbm x86_64 17.2.3-8.20171019.el7 base 38 k mesa-libglapi x86_64 17.2.3-8.20171019.el7 base 43 k pango x86_64 1.40.4-1.el7 base 275 k php-json x86_64 7.1.20-1.el7.remi remi-php71 60 k pixman x86_64 0.34.0-1.el7 base 248 k poppler-data noarch 0.4.6-3.el7 base 2.2 M urw-fonts noarch 2.4-16.el7 base 3.0 M xorg-x11-font-utils x86_64 1:7.5-20.el7 base 87 k 依存性関連での更新をします: php-cli x86_64 7.1.20-1.el7.remi remi-php71 4.6 M php-common x86_64 7.1.20-1.el7.remi remi-php71 1.0 M トランザクションの要約 ================================================================================================================================ インストール 10 パッケージ (+70 個の依存関係のパッケージ) 更新 ( 2 個の依存関係のパッケージ) 総ダウンロード容量: 37 M Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. (1/82): LibRaw-0.14.8-5.el7.20120830git98d925.x86_64.rpm | 250 kB 00:00:00 (2/82): OpenEXR-libs-1.7.1-7.el7.x86_64.rpm | 217 kB 00:00:00 (3/82): cups-libs-1.6.3-35.el7.x86_64.rpm | 357 kB 00:00:00 (4/82): atk-2.22.0-3.el7.x86_64.rpm | 258 kB 00:00:00 warning: /var/cache/yum/x86_64/7/remi-safe/packages/ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 00f97f56: NOKEY ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64.rpm の公開鍵がインストールされていません (5/82): ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64.rpm | 2.4 MB 00:00:00 (6/82): fontpackages-filesystem-1.44-8.el7.noarch.rpm | 9.9 kB 00:00:00 (7/82): cairo-1.14.8-2.el7.x86_64.rpm | 713 kB 00:00:00 (8/82): fftw-libs-double-3.3.3-8.el7.x86_64.rpm | 759 kB 00:00:00 (9/82): gd-2.0.35-26.el7.x86_64.rpm | 146 kB 00:00:00 (10/82): fontconfig-2.10.95-11.el7.x86_64.rpm | 229 kB 00:00:00 (11/82): ghostscript-9.07-28.el7_4.2.x86_64.rpm | 4.3 MB 00:00:00 (12/82): graphite2-1.3.10-1.el7_3.x86_64.rpm | 115 kB 00:00:00 (13/82): fribidi-0.19.4-6.el7.x86_64.rpm | 63 kB 00:00:00 (14/82): gtk-update-icon-cache-3.22.26-4.el7_5.x86_64.rpm | 27 kB 00:00:00 (15/82): ghostscript-fonts-5.50-32.el7.noarch.rpm | 324 kB 00:00:00 (16/82): gdk-pixbuf2-2.36.5-1.el7.x86_64.rpm | 567 kB 00:00:00 (17/82): harfbuzz-1.3.2-1.el7.x86_64.rpm | 177 kB 00:00:00 (18/82): hicolor-icon-theme-0.12-7.el7.noarch.rpm | 42 kB 00:00:00 (19/82): graphviz-2.30.1-21.el7.x86_64.rpm | 1.3 MB 00:00:00 (20/82): jbigkit-libs-2.0-11.el7.x86_64.rpm | 46 kB 00:00:00 (21/82): jasper-libs-1.900.1-31.el7.x86_64.rpm | 150 kB 00:00:00 (22/82): ilmbase-1.0.3-7.el7.x86_64.rpm | 100 kB 00:00:00 (23/82): lcms2-2.6-3.el7.x86_64.rpm | 150 kB 00:00:00 (24/82): libICE-1.0.9-9.el7.x86_64.rpm | 66 kB 00:00:00 (25/82): gtk2-2.24.31-1.el7.x86_64.rpm | 3.4 MB 00:00:00 (26/82): libSM-1.2.2-2.el7.x86_64.rpm | 39 kB 00:00:00 (27/82): libXau-1.0.8-2.1.el7.x86_64.rpm | 29 kB 00:00:00 (28/82): libXcomposite-0.4.4-4.1.el7.x86_64.rpm | 22 kB 00:00:00 (29/82): libX11-1.6.5-1.el7.x86_64.rpm | 606 kB 00:00:00 (30/82): libXdamage-1.1.4-4.1.el7.x86_64.rpm | 20 kB 00:00:00 (31/82): libXcursor-1.1.14-8.el7.x86_64.rpm | 30 kB 00:00:00 (32/82): libXaw-1.0.13-4.el7.x86_64.rpm | 192 kB 00:00:00 (33/82): libXext-1.3.3-3.el7.x86_64.rpm | 39 kB 00:00:00 (34/82): libXfixes-5.0.3-1.el7.x86_64.rpm | 18 kB 00:00:00 (35/82): libXft-2.3.2-2.el7.x86_64.rpm | 58 kB 00:00:00 (36/82): libXinerama-1.1.3-2.1.el7.x86_64.rpm | 14 kB 00:00:00 (37/82): libXi-1.7.9-1.el7.x86_64.rpm | 40 kB 00:00:00 (38/82): libXfont-1.5.2-1.el7.x86_64.rpm | 152 kB 00:00:00 (39/82): libXrandr-1.5.1-2.el7.x86_64.rpm | 27 kB 00:00:00 (40/82): libXrender-0.9.10-1.el7.x86_64.rpm | 26 kB 00:00:00 (41/82): libXmu-1.1.2-2.el7.x86_64.rpm | 71 kB 00:00:00 (42/82): libXxf86vm-1.1.4-1.el7.x86_64.rpm | 18 kB 00:00:00 (43/82): libfontenc-1.1.3-3.el7.x86_64.rpm | 31 kB 00:00:00 (44/82): libXt-1.1.5-3.el7.x86_64.rpm | 173 kB 00:00:00 (45/82): libXpm-3.5.12-1.el7.x86_64.rpm | 55 kB 00:00:00 (46/82): libjpeg-turbo-1.2.90-5.el7.x86_64.rpm | 134 kB 00:00:00 (47/82): libpng-1.5.13-7.el7_2.x86_64.rpm | 213 kB 00:00:00 (48/82): libraqm-0.1.1-1.el7.x86_64.rpm | 12 kB 00:00:00 (49/82): libX11-common-1.6.5-1.el7.noarch.rpm | 164 kB 00:00:00 (50/82): librsvg2-2.40.16-1.el7.x86_64.rpm | 128 kB 00:00:00 (51/82): libtool-ltdl-2.4.2-22.el7_3.x86_64.rpm | 49 kB 00:00:00 (52/82): libthai-0.1.14-9.el7.x86_64.rpm | 187 kB 00:00:00 (53/82): libwayland-client-1.14.0-2.el7.x86_64.rpm | 32 kB 00:00:00 (54/82): libtiff-4.0.3-27.el7_3.x86_64.rpm | 170 kB 00:00:00 (55/82): libwayland-server-1.14.0-2.el7.x86_64.rpm | 38 kB 00:00:00 (56/82): libxshmfence-1.2-1.el7.x86_64.rpm | 7.2 kB 00:00:00 (57/82): libwmf-lite-0.2.8.4-41.el7_1.x86_64.rpm | 66 kB 00:00:00 (58/82): libwebp-0.3.0-7.el7.x86_64.rpm | 170 kB 00:00:00 (59/82): mesa-libEGL-17.2.3-8.20171019.el7.x86_64.rpm | 96 kB 00:00:00 (60/82): mesa-libgbm-17.2.3-8.20171019.el7.x86_64.rpm | 38 kB 00:00:00 (61/82): mesa-libglapi-17.2.3-8.20171019.el7.x86_64.rpm | 43 kB 00:00:00 (62/82): lyx-fonts-2.2.3-1.el7.noarch.rpm | 159 kB 00:00:00 (63/82): libxcb-1.12-1.el7.x86_64.rpm | 211 kB 00:00:00 (64/82): mesa-libGL-17.2.3-8.20171019.el7.x86_64.rpm | 156 kB 00:00:00 (65/82): pango-1.40.4-1.el7.x86_64.rpm | 275 kB 00:00:00 php-cli-7.1.20-1.el7.remi.x86_64.rpm の公開鍵がインストールされていません (66/82): php-cli-7.1.20-1.el7.remi.x86_64.rpm | 4.6 MB 00:00:00 (67/82): php-7.1.20-1.el7.remi.x86_64.rpm | 3.0 MB 00:00:00 (68/82): php-fpm-7.1.20-1.el7.remi.x86_64.rpm | 1.6 MB 00:00:00 (69/82): php-intl-7.1.20-1.el7.remi.x86_64.rpm | 214 kB 00:00:00 (70/82): php-json-7.1.20-1.el7.remi.x86_64.rpm | 60 kB 00:00:00 (71/82): php-common-7.1.20-1.el7.remi.x86_64.rpm | 1.0 MB 00:00:00 (72/82): php-mysqlnd-7.1.20-1.el7.remi.x86_64.rpm | 231 kB 00:00:00 (73/82): php-opcache-7.1.20-1.el7.remi.x86_64.rpm | 241 kB 00:00:00 (74/82): php-pecl-apcu-5.1.12-1.el7.remi.7.1.x86_64.rpm | 76 kB 00:00:00 (75/82): php-pdo-7.1.20-1.el7.remi.x86_64.rpm | 123 kB 00:00:00 (76/82): php-pecl-imagick-3.4.3-9.el7.remi.7.1.x86_64.rpm | 155 kB 00:00:00 (77/82): php-process-7.1.20-1.el7.remi.x86_64.rpm | 77 kB 00:00:00 (78/82): poppler-data-0.4.6-3.el7.noarch.rpm | 2.2 MB 00:00:00 (79/82): php-xml-7.1.20-1.el7.remi.x86_64.rpm | 208 kB 00:00:00 (80/82): pixman-0.34.0-1.el7.x86_64.rpm | 248 kB 00:00:00 (81/82): urw-fonts-2.4-16.el7.noarch.rpm | 3.0 MB 00:00:00 (82/82): xorg-x11-font-utils-7.5-20.el7.x86_64.rpm | 87 kB 00:00:00 -------------------------------------------------------------------------------------------------------------------------------- 合計 15 MB/s | 37 MB 00:00:02 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi から鍵を取得中です。 Importing GPG key 0x00F97F56: Userid : "Remi Collet <RPMS@FamilleCollet.com>" Fingerprint: 1ee0 4cce 88a4 ae4a a29a 5df5 004e 6f47 00f9 7f56 Package : remi-release-7.5-2.el7.remi.noarch (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi Running transaction check Running transaction test Transaction test succeeded Running transaction インストール中 : php-json-7.1.20-1.el7.remi.x86_64 1/84 更新します : php-common-7.1.20-1.el7.remi.x86_64 2/84 インストール中 : 2:libpng-1.5.13-7.el7_2.x86_64 3/84 インストール中 : libjpeg-turbo-1.2.90-5.el7.x86_64 4/84 インストール中 : libICE-1.0.9-9.el7.x86_64 5/84 インストール中 : libSM-1.2.2-2.el7.x86_64 6/84 インストール中 : lcms2-2.6-3.el7.x86_64 7/84 インストール中 : jasper-libs-1.900.1-31.el7.x86_64 8/84 インストール中 : atk-2.22.0-3.el7.x86_64 9/84 インストール中 : libfontenc-1.1.3-3.el7.x86_64 10/84 インストール中 : libwayland-server-1.14.0-2.el7.x86_64 11/84 インストール中 : libxshmfence-1.2-1.el7.x86_64 12/84 インストール中 : jbigkit-libs-2.0-11.el7.x86_64 13/84 インストール中 : libtiff-4.0.3-27.el7_3.x86_64 14/84 インストール中 : 1:cups-libs-1.6.3-35.el7.x86_64 15/84 インストール中 : libwayland-client-1.14.0-2.el7.x86_64 16/84 インストール中 : libtool-ltdl-2.4.2-22.el7_3.x86_64 17/84 インストール中 : fontpackages-filesystem-1.44-8.el7.noarch 18/84 インストール中 : ilmbase-1.0.3-7.el7.x86_64 19/84 インストール中 : mesa-libglapi-17.2.3-8.20171019.el7.x86_64 20/84 インストール中 : mesa-libgbm-17.2.3-8.20171019.el7.x86_64 21/84 インストール中 : OpenEXR-libs-1.7.1-7.el7.x86_64 22/84 インストール中 : lyx-fonts-2.2.3-1.el7.noarch 23/84 インストール中 : fontconfig-2.10.95-11.el7.x86_64 24/84 インストール中 : libXfont-1.5.2-1.el7.x86_64 25/84 インストール中 : 1:xorg-x11-font-utils-7.5-20.el7.x86_64 26/84 インストール中 : urw-fonts-2.4-16.el7.noarch 27/84 インストール中 : ghostscript-fonts-5.50-32.el7.noarch 28/84 インストール中 : LibRaw-0.14.8-5.el7.20120830git98d925.x86_64 29/84 インストール中 : php-pdo-7.1.20-1.el7.remi.x86_64 30/84 更新します : php-cli-7.1.20-1.el7.remi.x86_64 31/84 インストール中 : graphite2-1.3.10-1.el7_3.x86_64 32/84 インストール中 : harfbuzz-1.3.2-1.el7.x86_64 33/84 インストール中 : libXau-1.0.8-2.1.el7.x86_64 34/84 インストール中 : libxcb-1.12-1.el7.x86_64 35/84 インストール中 : libX11-common-1.6.5-1.el7.noarch 36/84 インストール中 : libX11-1.6.5-1.el7.x86_64 37/84 インストール中 : libXext-1.3.3-3.el7.x86_64 38/84 インストール中 : libXrender-0.9.10-1.el7.x86_64 39/84 インストール中 : libXt-1.1.5-3.el7.x86_64 40/84 インストール中 : gdk-pixbuf2-2.36.5-1.el7.x86_64 41/84 インストール中 : libXfixes-5.0.3-1.el7.x86_64 42/84 インストール中 : libXpm-3.5.12-1.el7.x86_64 43/84 インストール中 : libXdamage-1.1.4-4.1.el7.x86_64 44/84 インストール中 : libXmu-1.1.2-2.el7.x86_64 45/84 インストール中 : libXaw-1.0.13-4.el7.x86_64 46/84 インストール中 : gd-2.0.35-26.el7.x86_64 47/84 インストール中 : libXcursor-1.1.14-8.el7.x86_64 48/84 インストール中 : gtk-update-icon-cache-3.22.26-4.el7_5.x86_64 49/84 インストール中 : libXft-2.3.2-2.el7.x86_64 50/84 インストール中 : libXrandr-1.5.1-2.el7.x86_64 51/84 インストール中 : libXxf86vm-1.1.4-1.el7.x86_64 52/84 インストール中 : mesa-libGL-17.2.3-8.20171019.el7.x86_64 53/84 インストール中 : libXi-1.7.9-1.el7.x86_64 54/84 インストール中 : libXinerama-1.1.3-2.1.el7.x86_64 55/84 インストール中 : mesa-libEGL-17.2.3-8.20171019.el7.x86_64 56/84 インストール中 : libXcomposite-0.4.4-4.1.el7.x86_64 57/84 インストール中 : pixman-0.34.0-1.el7.x86_64 58/84 インストール中 : cairo-1.14.8-2.el7.x86_64 59/84 インストール中 : poppler-data-0.4.6-3.el7.noarch 60/84 インストール中 : ghostscript-9.07-28.el7_4.2.x86_64 61/84 インストール中 : libwebp-0.3.0-7.el7.x86_64 62/84 インストール中 : libthai-0.1.14-9.el7.x86_64 63/84 インストール中 : pango-1.40.4-1.el7.x86_64 64/84 インストール中 : librsvg2-2.40.16-1.el7.x86_64 65/84 インストール中 : libwmf-lite-0.2.8.4-41.el7_1.x86_64 66/84 インストール中 : fftw-libs-double-3.3.3-8.el7.x86_64 67/84 インストール中 : hicolor-icon-theme-0.12-7.el7.noarch 68/84 インストール中 : gtk2-2.24.31-1.el7.x86_64 69/84 インストール中 : graphviz-2.30.1-21.el7.x86_64 70/84 インストール中 : fribidi-0.19.4-6.el7.x86_64 71/84 インストール中 : libraqm-0.1.1-1.el7.x86_64 72/84 インストール中 : ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 73/84 インストール中 : php-pecl-imagick-3.4.3-9.el7.remi.7.1.x86_64 74/84 インストール中 : php-7.1.20-1.el7.remi.x86_64 75/84 インストール中 : php-mysqlnd-7.1.20-1.el7.remi.x86_64 76/84 インストール中 : php-pecl-apcu-5.1.12-1.el7.remi.7.1.x86_64 77/84 インストール中 : php-intl-7.1.20-1.el7.remi.x86_64 78/84 インストール中 : php-fpm-7.1.20-1.el7.remi.x86_64 79/84 インストール中 : php-process-7.1.20-1.el7.remi.x86_64 80/84 インストール中 : php-opcache-7.1.20-1.el7.remi.x86_64 81/84 インストール中 : php-xml-7.1.20-1.el7.remi.x86_64 82/84 整理中 : php-cli-5.4.16-45.el7.x86_64 83/84 整理中 : php-common-5.4.16-45.el7.x86_64 84/84 検証中 : libXext-1.3.3-3.el7.x86_64 1/84 検証中 : libX11-1.6.5-1.el7.x86_64 2/84 検証中 : php-pecl-apcu-5.1.12-1.el7.remi.7.1.x86_64 3/84 検証中 : libtiff-4.0.3-27.el7_3.x86_64 4/84 検証中 : libICE-1.0.9-9.el7.x86_64 5/84 検証中 : libjpeg-turbo-1.2.90-5.el7.x86_64 6/84 検証中 : libXrender-0.9.10-1.el7.x86_64 7/84 検証中 : mesa-libglapi-17.2.3-8.20171019.el7.x86_64 8/84 検証中 : lyx-fonts-2.2.3-1.el7.noarch 9/84 検証中 : fribidi-0.19.4-6.el7.x86_64 10/84 検証中 : ilmbase-1.0.3-7.el7.x86_64 11/84 検証中 : php-pdo-7.1.20-1.el7.remi.x86_64 12/84 検証中 : urw-fonts-2.4-16.el7.noarch 13/84 検証中 : 2:libpng-1.5.13-7.el7_2.x86_64 14/84 検証中 : libXt-1.1.5-3.el7.x86_64 15/84 検証中 : php-intl-7.1.20-1.el7.remi.x86_64 16/84 検証中 : mesa-libEGL-17.2.3-8.20171019.el7.x86_64 17/84 検証中 : libXxf86vm-1.1.4-1.el7.x86_64 18/84 検証中 : fontpackages-filesystem-1.44-8.el7.noarch 19/84 検証中 : harfbuzz-1.3.2-1.el7.x86_64 20/84 検証中 : hicolor-icon-theme-0.12-7.el7.noarch 21/84 検証中 : cairo-1.14.8-2.el7.x86_64 22/84 検証中 : graphviz-2.30.1-21.el7.x86_64 23/84 検証中 : fftw-libs-double-3.3.3-8.el7.x86_64 24/84 検証中 : OpenEXR-libs-1.7.1-7.el7.x86_64 25/84 検証中 : libwmf-lite-0.2.8.4-41.el7_1.x86_64 26/84 検証中 : libraqm-0.1.1-1.el7.x86_64 27/84 検証中 : gtk2-2.24.31-1.el7.x86_64 28/84 検証中 : php-pecl-imagick-3.4.3-9.el7.remi.7.1.x86_64 29/84 検証中 : php-common-7.1.20-1.el7.remi.x86_64 30/84 検証中 : jasper-libs-1.900.1-31.el7.x86_64 31/84 検証中 : librsvg2-2.40.16-1.el7.x86_64 32/84 検証中 : libXaw-1.0.13-4.el7.x86_64 33/84 検証中 : libtool-ltdl-2.4.2-22.el7_3.x86_64 34/84 検証中 : libthai-0.1.14-9.el7.x86_64 35/84 検証中 : php-json-7.1.20-1.el7.remi.x86_64 36/84 検証中 : libXft-2.3.2-2.el7.x86_64 37/84 検証中 : pango-1.40.4-1.el7.x86_64 38/84 検証中 : libXpm-3.5.12-1.el7.x86_64 39/84 検証中 : libwebp-0.3.0-7.el7.x86_64 40/84 検証中 : libxcb-1.12-1.el7.x86_64 41/84 検証中 : libwayland-client-1.14.0-2.el7.x86_64 42/84 検証中 : mesa-libGL-17.2.3-8.20171019.el7.x86_64 43/84 検証中 : php-cli-7.1.20-1.el7.remi.x86_64 44/84 検証中 : php-fpm-7.1.20-1.el7.remi.x86_64 45/84 検証中 : 1:cups-libs-1.6.3-35.el7.x86_64 46/84 検証中 : php-process-7.1.20-1.el7.remi.x86_64 47/84 検証中 : poppler-data-0.4.6-3.el7.noarch 48/84 検証中 : ghostscript-fonts-5.50-32.el7.noarch 49/84 検証中 : libXi-1.7.9-1.el7.x86_64 50/84 検証中 : libXmu-1.1.2-2.el7.x86_64 51/84 検証中 : libXrandr-1.5.1-2.el7.x86_64 52/84 検証中 : gd-2.0.35-26.el7.x86_64 53/84 検証中 : pixman-0.34.0-1.el7.x86_64 54/84 検証中 : gtk-update-icon-cache-3.22.26-4.el7_5.x86_64 55/84 検証中 : php-opcache-7.1.20-1.el7.remi.x86_64 56/84 検証中 : php-mysqlnd-7.1.20-1.el7.remi.x86_64 57/84 検証中 : jbigkit-libs-2.0-11.el7.x86_64 58/84 検証中 : libXcomposite-0.4.4-4.1.el7.x86_64 59/84 検証中 : gdk-pixbuf2-2.36.5-1.el7.x86_64 60/84 検証中 : libX11-common-1.6.5-1.el7.noarch 61/84 検証中 : php-xml-7.1.20-1.el7.remi.x86_64 62/84 検証中 : lcms2-2.6-3.el7.x86_64 63/84 検証中 : libxshmfence-1.2-1.el7.x86_64 64/84 検証中 : libXau-1.0.8-2.1.el7.x86_64 65/84 検証中 : ghostscript-9.07-28.el7_4.2.x86_64 66/84 検証中 : libSM-1.2.2-2.el7.x86_64 67/84 検証中 : fontconfig-2.10.95-11.el7.x86_64 68/84 検証中 : graphite2-1.3.10-1.el7_3.x86_64 69/84 検証中 : libXfont-1.5.2-1.el7.x86_64 70/84 検証中 : libXinerama-1.1.3-2.1.el7.x86_64 71/84 検証中 : LibRaw-0.14.8-5.el7.20120830git98d925.x86_64 72/84 検証中 : libwayland-server-1.14.0-2.el7.x86_64 73/84 検証中 : libXdamage-1.1.4-4.1.el7.x86_64 74/84 検証中 : libXfixes-5.0.3-1.el7.x86_64 75/84 検証中 : libfontenc-1.1.3-3.el7.x86_64 76/84 検証中 : php-7.1.20-1.el7.remi.x86_64 77/84 検証中 : 1:xorg-x11-font-utils-7.5-20.el7.x86_64 78/84 検証中 : libXcursor-1.1.14-8.el7.x86_64 79/84 検証中 : ImageMagick6-libs-6.9.10.7-1.el7.remi.x86_64 80/84 検証中 : mesa-libgbm-17.2.3-8.20171019.el7.x86_64 81/84 検証中 : atk-2.22.0-3.el7.x86_64 82/84 検証中 : php-cli-5.4.16-45.el7.x86_64 83/84 検証中 : php-common-5.4.16-45.el7.x86_64 84/84 インストール: php.x86_64 0:7.1.20-1.el7.remi php-fpm.x86_64 0:7.1.20-1.el7.remi php-intl.x86_64 0:7.1.20-1.el7.remi php-mysqlnd.x86_64 0:7.1.20-1.el7.remi php-opcache.x86_64 0:7.1.20-1.el7.remi php-pdo.x86_64 0:7.1.20-1.el7.remi php-pecl-apcu.x86_64 0:5.1.12-1.el7.remi.7.1 php-pecl-imagick.x86_64 0:3.4.3-9.el7.remi.7.1 php-process.x86_64 0:7.1.20-1.el7.remi php-xml.x86_64 0:7.1.20-1.el7.remi 依存性関連をインストールしました: ImageMagick6-libs.x86_64 0:6.9.10.7-1.el7.remi LibRaw.x86_64 0:0.14.8-5.el7.20120830git98d925 OpenEXR-libs.x86_64 0:1.7.1-7.el7 atk.x86_64 0:2.22.0-3.el7 cairo.x86_64 0:1.14.8-2.el7 cups-libs.x86_64 1:1.6.3-35.el7 fftw-libs-double.x86_64 0:3.3.3-8.el7 fontconfig.x86_64 0:2.10.95-11.el7 fontpackages-filesystem.noarch 0:1.44-8.el7 fribidi.x86_64 0:0.19.4-6.el7 gd.x86_64 0:2.0.35-26.el7 gdk-pixbuf2.x86_64 0:2.36.5-1.el7 ghostscript.x86_64 0:9.07-28.el7_4.2 ghostscript-fonts.noarch 0:5.50-32.el7 graphite2.x86_64 0:1.3.10-1.el7_3 graphviz.x86_64 0:2.30.1-21.el7 gtk-update-icon-cache.x86_64 0:3.22.26-4.el7_5 gtk2.x86_64 0:2.24.31-1.el7 harfbuzz.x86_64 0:1.3.2-1.el7 hicolor-icon-theme.noarch 0:0.12-7.el7 ilmbase.x86_64 0:1.0.3-7.el7 jasper-libs.x86_64 0:1.900.1-31.el7 jbigkit-libs.x86_64 0:2.0-11.el7 lcms2.x86_64 0:2.6-3.el7 libICE.x86_64 0:1.0.9-9.el7 libSM.x86_64 0:1.2.2-2.el7 libX11.x86_64 0:1.6.5-1.el7 libX11-common.noarch 0:1.6.5-1.el7 libXau.x86_64 0:1.0.8-2.1.el7 libXaw.x86_64 0:1.0.13-4.el7 libXcomposite.x86_64 0:0.4.4-4.1.el7 libXcursor.x86_64 0:1.1.14-8.el7 libXdamage.x86_64 0:1.1.4-4.1.el7 libXext.x86_64 0:1.3.3-3.el7 libXfixes.x86_64 0:5.0.3-1.el7 libXfont.x86_64 0:1.5.2-1.el7 libXft.x86_64 0:2.3.2-2.el7 libXi.x86_64 0:1.7.9-1.el7 libXinerama.x86_64 0:1.1.3-2.1.el7 libXmu.x86_64 0:1.1.2-2.el7 libXpm.x86_64 0:3.5.12-1.el7 libXrandr.x86_64 0:1.5.1-2.el7 libXrender.x86_64 0:0.9.10-1.el7 libXt.x86_64 0:1.1.5-3.el7 libXxf86vm.x86_64 0:1.1.4-1.el7 libfontenc.x86_64 0:1.1.3-3.el7 libjpeg-turbo.x86_64 0:1.2.90-5.el7 libpng.x86_64 2:1.5.13-7.el7_2 libraqm.x86_64 0:0.1.1-1.el7 librsvg2.x86_64 0:2.40.16-1.el7 libthai.x86_64 0:0.1.14-9.el7 libtiff.x86_64 0:4.0.3-27.el7_3 libtool-ltdl.x86_64 0:2.4.2-22.el7_3 libwayland-client.x86_64 0:1.14.0-2.el7 libwayland-server.x86_64 0:1.14.0-2.el7 libwebp.x86_64 0:0.3.0-7.el7 libwmf-lite.x86_64 0:0.2.8.4-41.el7_1 libxcb.x86_64 0:1.12-1.el7 libxshmfence.x86_64 0:1.2-1.el7 lyx-fonts.noarch 0:2.2.3-1.el7 mesa-libEGL.x86_64 0:17.2.3-8.20171019.el7 mesa-libGL.x86_64 0:17.2.3-8.20171019.el7 mesa-libgbm.x86_64 0:17.2.3-8.20171019.el7 mesa-libglapi.x86_64 0:17.2.3-8.20171019.el7 pango.x86_64 0:1.40.4-1.el7 php-json.x86_64 0:7.1.20-1.el7.remi pixman.x86_64 0:0.34.0-1.el7 poppler-data.noarch 0:0.4.6-3.el7 urw-fonts.noarch 0:2.4-16.el7 xorg-x11-font-utils.x86_64 1:7.5-20.el7 依存性を更新しました: php-cli.x86_64 0:7.1.20-1.el7.remi php-common.x86_64 0:7.1.20-1.el7.remi 完了しました!
設定
php.iniの設定
PHPの設定ファイルを開きます。
# vi /etc/php.ini
php.ini内の以下の部分を変更します。
date.timezone
[Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone ;date.timezone =
⬇
[Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone ;date.timezone= date.timezone = "Asia/Tokyo"
expoose_php
; Decides whether PHP may expose the fact that it is installed on the server ; (e.g. by adding its signature to the Web server header). It is no security ; threat in any way, but it makes it possible to determine whether you use PHP ; on your server or not. ; http://php.net/expose-php expose_php = On
⬇
; Decides whether PHP may expose the fact that it is installed on the server ; (e.g. by adding its signature to the Web server header). It is no security ; threat in any way, but it makes it possible to determine whether you use PHP ; on your server or not. ; http://php.net/expose-php ;expose_php = On ←コメントアウト expose_php = Off ←追記
post_max_size
; Maximum size of POST data that PHP will accept. ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; http://php.net/post-max-size post_max_size = 8M
⬇
; Maximum size of POST data that PHP will accept. ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; http://php.net/post-max-size post_max_size = 200M
upload_max_filesize
; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 2M
⬇
; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 200M
php-fpmの設定
php-fpmの実行ユーザをnginxに設定します。
# vi /etc/php-fpm.d/www.conf
user,group
; Unix user/group of processes ; Note: The user is mandatory. If the group is not set, the default user's group ; will be used. ; RPM: apache Choosed to be able to access some dir as httpd user = apache ; RPM: Keep a group allowed to write in log dir. group = apache
⬇
; Unix user/group of processes ; Note: The user is mandatory. If the group is not set, the default user's group ; will be used. ; RPM: apache Choosed to be able to access some dir as httpd ;user = apache ←コメントアウト user = nginx ←追記 ; RPM: Keep a group allowed to write in log dir. ;group = apache ←コメントアウト group = nginx ←追記
listen
; The address on which to accept FastCGI requests. ; Valid syntaxes are: ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on ; a specific port; ; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on ; a specific port; ; 'port' - to listen on a TCP socket to all addresses ; (IPv6 and IPv4-mapped) on a specific port; ; '/path/to/unix/socket' - to listen on a unix socket. ; Note: This value is mandatory. listen = 127.0.0.1:9000
⬇
; The address on which to accept FastCGI requests. ; Valid syntaxes are: ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on ; a specific port; ; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on ; a specific port; ; 'port' - to listen on a TCP socket to all addresses ; (IPv6 and IPv4-mapped) on a specific port; ; '/path/to/unix/socket' - to listen on a unix socket. ; Note: This value is mandatory. ;lsten = 127.0.0.1:9000 ←コメントアウト listen = /var/run/php-fpm/php-fpm.sock ←追記
設定を保存した後、php-fpmを再起動させて設定は完了となります。