CentOS7 の PHP を PHP7.0 にしてたら、結構ハマってしまった。
結局、思考錯誤の結果、一度全部 PHP を削除:
# yum remove php*
そして、PHP7.0 を REMI リポジトリからインストール:
# yum install –enablerepo=remi,remi-php70 php php-devel php-mbstring php-pdo php-gd php-mysqlnd php-intl php-pear
インストールされたパッケージ:
# rpm -qa | grep php
php-common-7.0.33-8.el7.remi.x86_64
php-xml-7.0.33-8.el7.remi.x86_64
php-7.0.33-8.el7.remi.x86_64
php-pear-1.10.9-2.el7.remi.noarch
php70-php-xml-7.0.33-8.el7.remi.x86_64
php70-php-pecl-mysql-1.0.0-0.9.20151007git294ce3b.el7.remi.x86_64
php-pdo-7.0.33-8.el7.remi.x86_64
php70-php-mysqlnd-7.0.33-8.el7.remi.x86_64
php-mysqlnd-7.0.33-8.el7.remi.x86_64
php-json-7.0.33-8.el7.remi.x86_64
php70-runtime-2.0-1.el7.remi.x86_64
php70-php-mbstring-7.0.33-8.el7.remi.x86_64
php-gd-7.0.33-8.el7.remi.x86_64
php70-php-gd-7.0.33-8.el7.remi.x86_64
php-cli-7.0.33-8.el7.remi.x86_64
php70-php-common-7.0.33-8.el7.remi.x86_64
php-fedora-autoloader-1.0.0-1.el7.remi.noarch
php70-php-json-7.0.33-8.el7.remi.x86_64
php70-php-pdo-7.0.33-8.el7.remi.x86_64
php-devel-7.0.33-8.el7.remi.x86_64
php-process-7.0.33-8.el7.remi.x86_64
php-mbstring-7.0.33-8.el7.remi.x86_64
php-intl-7.0.33-8.el7.remi.x86_64