Scientific Linux(ver.6.6) 上でPHP-5.6.10にRPMアップデート

July 3, 2015 – 10:15 am

自宅に設置しているLinux Server上のPHP versionを5.6.10にアップグレードした。
以下、更新作業内容をメモ。
なお、更新に際して、yum Repository にLes RPM de Remi のRepositoryを追加し、これを用いた。


更新の理由と必要
2011年にScientific Linux (以下、SLと略す)Version 6.1で自宅サーバを再構築している。再構築に際し、SLの標準Repositoryに基づいてPHPをRPMインストールしたが、その時点でのversionは 5.3.3であった。その後、数回に亘ってSLはversion upされたが、これにはPHPの新しいversionには、反映されていない。

最近、パッケージ管理ツール Composer を用いてphpパッケージ(TwitterOAuth)をインストールしようとしたところ、これにはphp vers.5.4以上を必要とすることが判明。これを機会に、LAMPを構成するモジュール(Apache+MySQL+php)を全面的に更新し、サーバー上でのプログラミング環境を高度化することを計画した。

今回は、php の versionを 現時点で公開されている最新の5.6にアップグレードすることにし、今進めているTwitterOAuthの導入環境を整えることにした。

phpのRPMアップデート手順:

  1. yum RepositoryへのLe RPM de RemiのRepositoryの追加
    Le RPM de Remiのyum repository をセットするため以下のコマンドを実行

    #rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
    

    これにより、/etc/yum.repos.dにremi.repoなるRepositoryファイルが作成される。今回、作成されたファイルは以下:
     
    /etc/yum.repos.d/remi.repo

    [remi]
    name=Les RPM de remi pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-php55]
    name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/php55/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/php55/mirror
    # WARNING: If you enable this repository, you must also enable "remi"
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-php56]
    name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/php56/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/php56/mirror
    # WARNING: If you enable this repository, you must also enable "remi"
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
    
    [remi-test]
    name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/test/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/test/mirror
    # WARNING: If you enable this repository, you must also enable "remi"
    enabled=0
    gpgcheck=1
    
    

      

  2. php関連モジュールの更新
    当初、php関連モジュールの更新をyum updateコマンドで行なおうとしたが、libraryの依存関係に難があり、複雑な作業を要することがわかった。このことから、更新手順として、まずphp関連モジュールをremoveし、removeの対象としたモジュールをremi.repoに基づいてをinstallすることにした。

    以下、作業ログ:

    • php関連モジュールのremove

      # yum remove php-\*
      Loaded plugins: refresh-packagekit, security
      Setting up Remove Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package php.x86_64 0:5.3.3-40.el6_6 will be erased
      --> Processing Dependency: php >= 5.0.6 for package: phpldapadmin-1.2.3-1.el6.noarch
      ---> Package php-bcmath.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-cli.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-common.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-dba.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-devel.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-embedded.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-enchant.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-gd.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-imap.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-intl.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-ldap.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-mbstring.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-mysql.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-odbc.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-pdo.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-pear.noarch 1:1.9.4-4.el6 will be erased
      ---> Package php-pecl-apc.x86_64 0:3.1.9-2.el6 will be erased
      ---> Package php-pecl-memcache.x86_64 0:3.0.5-4.el6 will be erased
      ---> Package php-pgsql.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-process.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-pspell.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-recode.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-snmp.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-soap.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-tidy.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-xml.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-xmlrpc.x86_64 0:5.3.3-40.el6_6 will be erased
      ---> Package php-zts.x86_64 0:5.3.3-40.el6_6 will be erased
      --> Running transaction check
      ---> Package phpldapadmin.noarch 0:1.2.3-1.el6 will be erased
      --> Finished Dependency Resolution
      
      Dependencies Resolved
      
      =====================================================================================================================================
       Package                            Arch                    Version                          Repository                         Size
      =====================================================================================================================================
      Removing:
       php                                x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  3.5 M
       php-bcmath                         x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                   29 k
       php-cli                            x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  6.2 M
       php-common                         x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  2.9 M
       php-dba                            x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                   49 k
       php-devel                          x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  3.0 M
       php-embedded                       x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  3.5 M
       php-enchant                        x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                   22 k
       php-gd                             x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  324 k
       php-imap                           x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  100 k
       php-intl                           x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  166 k
       php-ldap                           x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                   52 k
       php-mbstring                       x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  2.1 M
       php-mysql                          x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  216 k
       php-odbc                           x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                   88 k
       php-pdo                            x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  168 k
       php-pear                           noarch                  1:1.9.4-4.el6                    @sl/6.2                           2.2 M
       php-pecl-apc                       x86_64                  3.1.9-2.el6                      @sl-security/6.2                  318 k
       php-pecl-memcache                  x86_64                  3.0.5-4.el6                      @sl-security/6.2                  164 k
       php-pgsql                          x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  155 k
       php-process                        x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                   65 k
       php-pspell                         x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                   21 k
       php-recode                         x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  8.2 k
       php-snmp                           x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                   33 k
       php-soap                           x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  325 k
       php-tidy                           x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                   48 k
       php-xml                            x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  307 k
       php-xmlrpc                         x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                   77 k
       php-zts                            x86_64                  5.3.3-40.el6_6                   @sl-security/6.5                  3.7 M
      Removing for dependencies:
       phpldapadmin                       noarch                  1.2.3-1.el6                      @epel/6.5                         2.4 M
      
      Transaction Summary
      =====================================================================================================================================
      Remove       30 Package(s)
      
      Installed size: 32 M
      Is this ok [y/N]: y
      Downloading Packages:
      Running rpm_check_debug
      Running Transaction Test
      Transaction Test Succeeded
      Running Transaction
        Erasing    : phpldapadmin-1.2.3-1.el6.noarch                                                                                  1/30 
      warning: /etc/phpldapadmin/config.php saved as /etc/phpldapadmin/config.php.rpmsave
      warning: /etc/httpd/conf.d/phpldapadmin.conf saved as /etc/httpd/conf.d/phpldapadmin.conf.rpmsave
        Erasing    : php-pecl-memcache-3.0.5-4.el6.x86_64                                                                             2/30 
        Erasing    : php-pgsql-5.3.3-40.el6_6.x86_64                                                                                  3/30 
        Erasing    : php-pecl-apc-3.1.9-2.el6.x86_64                                                                                  4/30 
        Erasing    : php-mysql-5.3.3-40.el6_6.x86_64                                                                                  5/30 
        Erasing    : php-odbc-5.3.3-40.el6_6.x86_64                                                                                   6/30 
        Erasing    : 1:php-pear-1.9.4-4.el6.noarch                                                                                    7/30 
        Erasing    : php-devel-5.3.3-40.el6_6.x86_64                                                                                  8/30 
        Erasing    : php-5.3.3-40.el6_6.x86_64                                                                                        9/30 
        Erasing    : php-cli-5.3.3-40.el6_6.x86_64                                                                                   10/30 
        Erasing    : php-pdo-5.3.3-40.el6_6.x86_64                                                                                   11/30 
        Erasing    : php-ldap-5.3.3-40.el6_6.x86_64                                                                                  12/30 
        Erasing    : php-soap-5.3.3-40.el6_6.x86_64                                                                                  13/30 
        Erasing    : php-tidy-5.3.3-40.el6_6.x86_64                                                                                  14/30 
        Erasing    : php-process-5.3.3-40.el6_6.x86_64                                                                               15/30 
        Erasing    : php-gd-5.3.3-40.el6_6.x86_64                                                                                    16/30 
        Erasing    : php-intl-5.3.3-40.el6_6.x86_64                                                                                  17/30 
        Erasing    : php-snmp-5.3.3-40.el6_6.x86_64                                                                                  18/30 
        Erasing    : php-xml-5.3.3-40.el6_6.x86_64                                                                                   19/30 
        Erasing    : php-dba-5.3.3-40.el6_6.x86_64                                                                                   20/30 
        Erasing    : php-zts-5.3.3-40.el6_6.x86_64                                                                                   21/30 
        Erasing    : php-xmlrpc-5.3.3-40.el6_6.x86_64                                                                                22/30 
        Erasing    : php-mbstring-5.3.3-40.el6_6.x86_64                                                                              23/30 
        Erasing    : php-enchant-5.3.3-40.el6_6.x86_64                                                                               24/30 
        Erasing    : php-recode-5.3.3-40.el6_6.x86_64                                                                                25/30 
        Erasing    : php-bcmath-5.3.3-40.el6_6.x86_64                                                                                26/30 
        Erasing    : php-embedded-5.3.3-40.el6_6.x86_64                                                                              27/30 
        Erasing    : php-pspell-5.3.3-40.el6_6.x86_64                                                                                28/30 
        Erasing    : php-imap-5.3.3-40.el6_6.x86_64                                                                                  29/30 
        Erasing    : php-common-5.3.3-40.el6_6.x86_64                                                                                30/30 
      warning: /etc/php.ini saved as /etc/php.ini.rpmsave
        Verifying  : php-imap-5.3.3-40.el6_6.x86_64                                                                                   1/30 
        Verifying  : php-pspell-5.3.3-40.el6_6.x86_64                                                                                 2/30 
        Verifying  : php-embedded-5.3.3-40.el6_6.x86_64                                                                               3/30 
        Verifying  : php-bcmath-5.3.3-40.el6_6.x86_64                                                                                 4/30 
        Verifying  : php-recode-5.3.3-40.el6_6.x86_64                                                                                 5/30 
        Verifying  : php-enchant-5.3.3-40.el6_6.x86_64                                                                                6/30 
        Verifying  : php-cli-5.3.3-40.el6_6.x86_64                                                                                    7/30 
        Verifying  : php-5.3.3-40.el6_6.x86_64                                                                                        8/30 
        Verifying  : php-common-5.3.3-40.el6_6.x86_64                                                                                 9/30 
        Verifying  : php-mbstring-5.3.3-40.el6_6.x86_64                                                                              10/30 
        Verifying  : 1:php-pear-1.9.4-4.el6.noarch                                                                                   11/30 
        Verifying  : php-xmlrpc-5.3.3-40.el6_6.x86_64                                                                                12/30 
        Verifying  : phpldapadmin-1.2.3-1.el6.noarch                                                                                 13/30 
        Verifying  : php-ldap-5.3.3-40.el6_6.x86_64                                                                                  14/30 
        Verifying  : php-zts-5.3.3-40.el6_6.x86_64                                                                                   15/30 
        Verifying  : php-dba-5.3.3-40.el6_6.x86_64                                                                                   16/30 
        Verifying  : php-xml-5.3.3-40.el6_6.x86_64                                                                                   17/30 
        Verifying  : php-snmp-5.3.3-40.el6_6.x86_64                                                                                  18/30 
        Verifying  : php-intl-5.3.3-40.el6_6.x86_64                                                                                  19/30 
        Verifying  : php-pdo-5.3.3-40.el6_6.x86_64                                                                                   20/30 
        Verifying  : php-odbc-5.3.3-40.el6_6.x86_64                                                                                  21/30 
        Verifying  : php-mysql-5.3.3-40.el6_6.x86_64                                                                                 22/30 
        Verifying  : php-pecl-apc-3.1.9-2.el6.x86_64                                                                                 23/30 
        Verifying  : php-pgsql-5.3.3-40.el6_6.x86_64                                                                                 24/30 
        Verifying  : php-gd-5.3.3-40.el6_6.x86_64                                                                                    25/30 
        Verifying  : php-devel-5.3.3-40.el6_6.x86_64                                                                                 26/30 
        Verifying  : php-process-5.3.3-40.el6_6.x86_64                                                                               27/30 
        Verifying  : php-tidy-5.3.3-40.el6_6.x86_64                                                                                  28/30 
        Verifying  : php-soap-5.3.3-40.el6_6.x86_64                                                                                  29/30 
        Verifying  : php-pecl-memcache-3.0.5-4.el6.x86_64                                                                            30/30 
      
      Removed:
        php.x86_64 0:5.3.3-40.el6_6                   php-bcmath.x86_64 0:5.3.3-40.el6_6         php-cli.x86_64 0:5.3.3-40.el6_6           
        php-common.x86_64 0:5.3.3-40.el6_6            php-dba.x86_64 0:5.3.3-40.el6_6            php-devel.x86_64 0:5.3.3-40.el6_6         
        php-embedded.x86_64 0:5.3.3-40.el6_6          php-enchant.x86_64 0:5.3.3-40.el6_6        php-gd.x86_64 0:5.3.3-40.el6_6            
        php-imap.x86_64 0:5.3.3-40.el6_6              php-intl.x86_64 0:5.3.3-40.el6_6           php-ldap.x86_64 0:5.3.3-40.el6_6          
        php-mbstring.x86_64 0:5.3.3-40.el6_6          php-mysql.x86_64 0:5.3.3-40.el6_6          php-odbc.x86_64 0:5.3.3-40.el6_6          
        php-pdo.x86_64 0:5.3.3-40.el6_6               php-pear.noarch 1:1.9.4-4.el6              php-pecl-apc.x86_64 0:3.1.9-2.el6         
        php-pecl-memcache.x86_64 0:3.0.5-4.el6        php-pgsql.x86_64 0:5.3.3-40.el6_6          php-process.x86_64 0:5.3.3-40.el6_6       
        php-pspell.x86_64 0:5.3.3-40.el6_6            php-recode.x86_64 0:5.3.3-40.el6_6         php-snmp.x86_64 0:5.3.3-40.el6_6          
        php-soap.x86_64 0:5.3.3-40.el6_6              php-tidy.x86_64 0:5.3.3-40.el6_6           php-xml.x86_64 0:5.3.3-40.el6_6           
        php-xmlrpc.x86_64 0:5.3.3-40.el6_6            php-zts.x86_64 0:5.3.3-40.el6_6           
      
      Dependency Removed:
        phpldapadmin.noarch 0:1.2.3-1.el6                                                                                                  
      
      Complete!
      

       

    • remove対象としたphpモジュールのremi.repoを用いたインストール

      # yum install --enablerepo=remi --enablerepo=remi-php56 --skip-broken php php-devel php-mbstring php-mysqlnd php-bcmath php-dba php-embedded php-gd php-imap php-intl php-ldap php-odbc php-pecl-apcu php-memcache php-pgsql php-pspell php-recode php-snmp php-xmlrpc
      Loaded plugins: refresh-packagekit, security
      Setting up Install Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package php.x86_64 0:5.6.10-1.el6.remi will be installed
      --> Processing Dependency: php-common(x86-64) = 5.6.10-1.el6.remi for package: php-5.6.10-1.el6.remi.x86_64
      --> Processing Dependency: php-cli(x86-64) = 5.6.10-1.el6.remi for package: php-5.6.10-1.el6.remi.x86_64
      ---> Package php-bcmath.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-dba.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-devel.x86_64 0:5.6.10-1.el6.remi will be installed
      --> Processing Dependency: php-pecl-jsonc-devel(x86-64) for package: php-devel-5.6.10-1.el6.remi.x86_64
      ---> Package php-embedded.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-gd.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-imap.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-intl.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-ldap.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-mbstring.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-mysqlnd.x86_64 0:5.6.10-1.el6.remi will be installed
      --> Processing Dependency: php-pdo(x86-64) = 5.6.10-1.el6.remi for package: php-mysqlnd-5.6.10-1.el6.remi.x86_64
      ---> Package php-odbc.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-pecl-apcu.x86_64 0:4.0.7-2.el6.remi.5.6 will be installed
      ---> Package php-pecl-memcache.x86_64 0:3.0.8-3.el6.remi.5.6 will be installed
      --> Processing Dependency: /usr/bin/pecl for package: php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64
      --> Processing Dependency: /usr/bin/pecl for package: php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64
      ---> Package php-pgsql.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-pspell.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-recode.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-snmp.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-xmlrpc.x86_64 0:5.6.10-1.el6.remi will be installed
      --> Processing Dependency: php-xml(x86-64) = 5.6.10-1.el6.remi for package: php-xmlrpc-5.6.10-1.el6.remi.x86_64
      --> Running transaction check
      ---> Package php-cli.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-common.x86_64 0:5.6.10-1.el6.remi will be installed
      --> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.6.10-1.el6.remi.x86_64
      --> Processing Dependency: php-pecl-jsonc(x86-64) for package: php-common-5.6.10-1.el6.remi.x86_64
      ---> Package php-pdo.x86_64 0:5.6.10-1.el6.remi will be installed
      ---> Package php-pear.noarch 1:1.9.5-10.el6.remi will be installed
      --> Processing Dependency: php-posix for package: 1:php-pear-1.9.5-10.el6.remi.noarch
      ---> Package php-pecl-jsonc-devel.x86_64 0:1.3.7-1.el6.remi.5.6 will be installed
      ---> Package php-xml.x86_64 0:5.6.10-1.el6.remi will be installed
      --> Running transaction check
      ---> Package php-pecl-jsonc.x86_64 0:1.3.7-1.el6.remi.5.6 will be installed
      ---> Package php-pecl-zip.x86_64 0:1.12.5-1.el6.remi.5.6 will be installed
      ---> Package php-process.x86_64 0:5.6.10-1.el6.remi will be installed
      --> Finished Dependency Resolution
      
      Dependencies Resolved
      
      =======================================================================================================================================
       Package                              Arch                   Version                                  Repository                  Size
      =======================================================================================================================================
      Installing:
       php                                  x86_64                 5.6.10-1.el6.remi                        remi-php56                 2.7 M
       php-bcmath                           x86_64                 5.6.10-1.el6.remi                        remi-php56                  54 k
       php-dba                              x86_64                 5.6.10-1.el6.remi                        remi-php56                  59 k
       php-devel                            x86_64                 5.6.10-1.el6.remi                        remi-php56                 1.2 M
       php-embedded                         x86_64                 5.6.10-1.el6.remi                        remi-php56                 1.3 M
       php-gd                               x86_64                 5.6.10-1.el6.remi                        remi-php56                  74 k
       php-imap                             x86_64                 5.6.10-1.el6.remi                        remi-php56                  73 k
       php-intl                             x86_64                 5.6.10-1.el6.remi                        remi-php56                 205 k
       php-ldap                             x86_64                 5.6.10-1.el6.remi                        remi-php56                  57 k
       php-mbstring                         x86_64                 5.6.10-1.el6.remi                        remi-php56                 964 k
       php-mysqlnd                          x86_64                 5.6.10-1.el6.remi                        remi-php56                 272 k
       php-odbc                             x86_64                 5.6.10-1.el6.remi                        remi-php56                  72 k
       php-pecl-apcu                        x86_64                 4.0.7-2.el6.remi.5.6                     remi-php56                  80 k
       php-pecl-memcache                    x86_64                 3.0.8-3.el6.remi.5.6                     remi-php56                 101 k
       php-pgsql                            x86_64                 5.6.10-1.el6.remi                        remi-php56                 113 k
       php-pspell                           x86_64                 5.6.10-1.el6.remi                        remi-php56                  35 k
       php-recode                           x86_64                 5.6.10-1.el6.remi                        remi-php56                  31 k
       php-snmp                             x86_64                 5.6.10-1.el6.remi                        remi-php56                  52 k
       php-xmlrpc                           x86_64                 5.6.10-1.el6.remi                        remi-php56                  64 k
      Installing for dependencies:
       php-cli                              x86_64                 5.6.10-1.el6.remi                        remi-php56                 3.9 M
       php-common                           x86_64                 5.6.10-1.el6.remi                        remi-php56                 1.0 M
       php-pdo                              x86_64                 5.6.10-1.el6.remi                        remi-php56                 115 k
       php-pear                             noarch                 1:1.9.5-10.el6.remi                      remi                       357 k
       php-pecl-jsonc                       x86_64                 1.3.7-1.el6.remi.5.6                     remi-php56                  48 k
       php-pecl-jsonc-devel                 x86_64                 1.3.7-1.el6.remi.5.6                     remi-php56                  25 k
       php-pecl-zip                         x86_64                 1.12.5-1.el6.remi.5.6                    remi-php56                  82 k
       php-process                          x86_64                 5.6.10-1.el6.remi                        remi-php56                  59 k
       php-xml                              x86_64                 5.6.10-1.el6.remi                        remi-php56                 212 k
      
      Transaction Summary
      =======================================================================================================================================
      Install      28 Package(s)
      
      Total download size: 13 M
      Installed size: 51 M
      Is this ok [y/N]: y
      Downloading Packages:
      (1/28): php-5.6.10-1.el6.remi.x86_64.rpm                                                                        | 2.7 MB     00:11     
      (2/28): php-bcmath-5.6.10-1.el6.remi.x86_64.rpm                                                                 |  54 kB     00:02     
      (3/28): php-cli-5.6.10-1.el6.remi.x86_64.rpm                                                                    | 3.9 MB     00:11     
      (4/28): php-common-5.6.10-1.el6.remi.x86_64.rpm                                                                 | 1.0 MB     00:03     
      (5/28): php-dba-5.6.10-1.el6.remi.x86_64.rpm                                                                    |  59 kB     00:02     
      (6/28): php-devel-5.6.10-1.el6.remi.x86_64.rpm                                                                  | 1.2 MB     00:06     
      (7/28): php-embedded-5.6.10-1.el6.remi.x86_64.rpm                                                               | 1.3 MB     00:06     
      (8/28): php-gd-5.6.10-1.el6.remi.x86_64.rpm                                                                     |  74 kB     00:02     
      (9/28): php-imap-5.6.10-1.el6.remi.x86_64.rpm                                                                   |  73 kB     00:00     
      (10/28): php-intl-5.6.10-1.el6.remi.x86_64.rpm                                                                  | 205 kB     00:01     
      (11/28): php-ldap-5.6.10-1.el6.remi.x86_64.rpm                                                                  |  57 kB     00:00     
      (12/28): php-mbstring-5.6.10-1.el6.remi.x86_64.rpm                                                              | 964 kB     00:07     
      (13/28): php-mysqlnd-5.6.10-1.el6.remi.x86_64.rpm                                                               | 272 kB     00:01     
      (14/28): php-odbc-5.6.10-1.el6.remi.x86_64.rpm                                                                  |  72 kB     00:00     
      (15/28): php-pdo-5.6.10-1.el6.remi.x86_64.rpm                                                                   | 115 kB     00:01     
      (16/28): php-pear-1.9.5-10.el6.remi.noarch.rpm                                                                  | 357 kB     00:02     
      (17/28): php-pecl-apcu-4.0.7-2.el6.remi.5.6.x86_64.rpm                                                          |  80 kB     00:00     
      (18/28): php-pecl-jsonc-1.3.7-1.el6.remi.5.6.x86_64.rpm                                                         |  48 kB     00:00     
      (19/28): php-pecl-jsonc-devel-1.3.7-1.el6.remi.5.6.x86_64.rpm                                                   |  25 kB     00:00     
      (20/28): php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64.rpm                                                      | 101 kB     00:01     
      (21/28): php-pecl-zip-1.12.5-1.el6.remi.5.6.x86_64.rpm                                                          |  82 kB     00:00     
      (22/28): php-pgsql-5.6.10-1.el6.remi.x86_64.rpm                                                                 | 113 kB     00:01     
      (23/28): php-process-5.6.10-1.el6.remi.x86_64.rpm                                                               |  59 kB     00:00     
      (24/28): php-pspell-5.6.10-1.el6.remi.x86_64.rpm                                                                |  35 kB     00:00     
      (25/28): php-recode-5.6.10-1.el6.remi.x86_64.rpm                                                                |  31 kB     00:00     
      (26/28): php-snmp-5.6.10-1.el6.remi.x86_64.rpm                                                                  |  52 kB     00:00     
      (27/28): php-xml-5.6.10-1.el6.remi.x86_64.rpm                                                                   | 212 kB     00:02     
      (28/28): php-xmlrpc-5.6.10-1.el6.remi.x86_64.rpm                                                                |  64 kB     00:00     
      ---------------------------------------------------------------------------------------------------------------------------------------
      Total                                                                                                  167 kB/s |  13 MB     01:21     
      Running rpm_check_debug
      Running Transaction Test
      Transaction Test Succeeded
      Running Transaction
        Installing : php-pecl-jsonc-1.3.7-1.el6.remi.5.6.x86_64                                                                         1/28 
        Installing : php-pecl-zip-1.12.5-1.el6.remi.5.6.x86_64                                                                          2/28 
        Installing : php-common-5.6.10-1.el6.remi.x86_64                                                                                3/28 
      
      WARNING : These php-* RPMs are not official Fedora / Red Hat build and
      overrides the official ones. Don't file bugs on Fedora Project nor Red Hat.
      
      Use dedicated forums http://forums.famillecollet.com/
      
        Installing : php-cli-5.6.10-1.el6.remi.x86_64                                                                                   4/28 
        Installing : php-pdo-5.6.10-1.el6.remi.x86_64                                                                                   5/28 
        Installing : php-xml-5.6.10-1.el6.remi.x86_64                                                                                   6/28 
        Installing : php-devel-5.6.10-1.el6.remi.x86_64                                                                                 7/28 
        Installing : php-pecl-jsonc-devel-1.3.7-1.el6.remi.5.6.x86_64                                                                   8/28 
        Installing : php-process-5.6.10-1.el6.remi.x86_64                                                                               9/28 
        Installing : 1:php-pear-1.9.5-10.el6.remi.noarch                                                                               10/28 
        Installing : php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64                                                                     11/28 
        Installing : php-xmlrpc-5.6.10-1.el6.remi.x86_64                                                                               12/28 
        Installing : php-odbc-5.6.10-1.el6.remi.x86_64                                                                                 13/28 
        Installing : php-mysqlnd-5.6.10-1.el6.remi.x86_64                                                                              14/28 
        Installing : php-pgsql-5.6.10-1.el6.remi.x86_64                                                                                15/28 
        Installing : php-5.6.10-1.el6.remi.x86_64                                                                                      16/28 
        Installing : php-bcmath-5.6.10-1.el6.remi.x86_64                                                                               17/28 
        Installing : php-intl-5.6.10-1.el6.remi.x86_64                                                                                 18/28 
        Installing : php-ldap-5.6.10-1.el6.remi.x86_64                                                                                 19/28 
        Installing : php-mbstring-5.6.10-1.el6.remi.x86_64                                                                             20/28 
        Installing : php-embedded-5.6.10-1.el6.remi.x86_64                                                                             21/28 
        Installing : php-recode-5.6.10-1.el6.remi.x86_64                                                                               22/28 
        Installing : php-snmp-5.6.10-1.el6.remi.x86_64                                                                                 23/28 
        Installing : php-dba-5.6.10-1.el6.remi.x86_64                                                                                  24/28 
        Installing : php-gd-5.6.10-1.el6.remi.x86_64                                                                                   25/28 
        Installing : php-pecl-apcu-4.0.7-2.el6.remi.5.6.x86_64                                                                         26/28 
        Installing : php-pspell-5.6.10-1.el6.remi.x86_64                                                                               27/28 
        Installing : php-imap-5.6.10-1.el6.remi.x86_64                                                                                 28/28 
        Verifying  : php-bcmath-5.6.10-1.el6.remi.x86_64                                                                                1/28 
        Verifying  : php-intl-5.6.10-1.el6.remi.x86_64                                                                                  2/28 
        Verifying  : php-ldap-5.6.10-1.el6.remi.x86_64                                                                                  3/28 
        Verifying  : php-common-5.6.10-1.el6.remi.x86_64                                                                                4/28 
        Verifying  : php-5.6.10-1.el6.remi.x86_64                                                                                       5/28 
        Verifying  : php-cli-5.6.10-1.el6.remi.x86_64                                                                                   6/28 
        Verifying  : php-mbstring-5.6.10-1.el6.remi.x86_64                                                                              7/28 
        Verifying  : php-pecl-jsonc-1.3.7-1.el6.remi.5.6.x86_64                                                                         8/28 
        Verifying  : php-embedded-5.6.10-1.el6.remi.x86_64                                                                              9/28 
        Verifying  : php-pecl-zip-1.12.5-1.el6.remi.5.6.x86_64                                                                         10/28 
        Verifying  : php-devel-5.6.10-1.el6.remi.x86_64                                                                                11/28 
        Verifying  : php-recode-5.6.10-1.el6.remi.x86_64                                                                               12/28 
        Verifying  : php-odbc-5.6.10-1.el6.remi.x86_64                                                                                 13/28 
        Verifying  : 1:php-pear-1.9.5-10.el6.remi.noarch                                                                               14/28 
        Verifying  : php-snmp-5.6.10-1.el6.remi.x86_64                                                                                 15/28 
        Verifying  : php-xmlrpc-5.6.10-1.el6.remi.x86_64                                                                               16/28 
        Verifying  : php-pecl-jsonc-devel-1.3.7-1.el6.remi.5.6.x86_64                                                                  17/28 
        Verifying  : php-dba-5.6.10-1.el6.remi.x86_64                                                                                  18/28 
        Verifying  : php-mysqlnd-5.6.10-1.el6.remi.x86_64                                                                              19/28 
        Verifying  : php-pdo-5.6.10-1.el6.remi.x86_64                                                                                  20/28 
        Verifying  : php-pgsql-5.6.10-1.el6.remi.x86_64                                                                                21/28 
        Verifying  : php-process-5.6.10-1.el6.remi.x86_64                                                                              22/28 
        Verifying  : php-gd-5.6.10-1.el6.remi.x86_64                                                                                   23/28 
        Verifying  : php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64                                                                     24/28 
        Verifying  : php-pecl-apcu-4.0.7-2.el6.remi.5.6.x86_64                                                                         25/28 
        Verifying  : php-xml-5.6.10-1.el6.remi.x86_64                                                                                  26/28 
        Verifying  : php-pspell-5.6.10-1.el6.remi.x86_64                                                                               27/28 
        Verifying  : php-imap-5.6.10-1.el6.remi.x86_64                                                                                 28/28 
      
      Installed:
        php.x86_64 0:5.6.10-1.el6.remi               php-bcmath.x86_64 0:5.6.10-1.el6.remi            php-dba.x86_64 0:5.6.10-1.el6.remi   
        php-devel.x86_64 0:5.6.10-1.el6.remi         php-embedded.x86_64 0:5.6.10-1.el6.remi          php-gd.x86_64 0:5.6.10-1.el6.remi    
        php-imap.x86_64 0:5.6.10-1.el6.remi          php-intl.x86_64 0:5.6.10-1.el6.remi              php-ldap.x86_64 0:5.6.10-1.el6.remi  
        php-mbstring.x86_64 0:5.6.10-1.el6.remi      php-mysqlnd.x86_64 0:5.6.10-1.el6.remi           php-odbc.x86_64 0:5.6.10-1.el6.remi  
        php-pecl-apcu.x86_64 0:4.0.7-2.el6.remi.5.6  php-pecl-memcache.x86_64 0:3.0.8-3.el6.remi.5.6  php-pgsql.x86_64 0:5.6.10-1.el6.remi 
        php-pspell.x86_64 0:5.6.10-1.el6.remi        php-recode.x86_64 0:5.6.10-1.el6.remi            php-snmp.x86_64 0:5.6.10-1.el6.remi  
        php-xmlrpc.x86_64 0:5.6.10-1.el6.remi       
      
      Dependency Installed:
        php-cli.x86_64 0:5.6.10-1.el6.remi                              php-common.x86_64 0:5.6.10-1.el6.remi                                
        php-pdo.x86_64 0:5.6.10-1.el6.remi                              php-pear.noarch 1:1.9.5-10.el6.remi                                  
        php-pecl-jsonc.x86_64 0:1.3.7-1.el6.remi.5.6                    php-pecl-jsonc-devel.x86_64 0:1.3.7-1.el6.remi.5.6                   
        php-pecl-zip.x86_64 0:1.12.5-1.el6.remi.5.6                     php-process.x86_64 0:5.6.10-1.el6.remi                               
        php-xml.x86_64 0:5.6.10-1.el6.remi                             
      
      Complete!
      

       
      php の version 更新にともないremove 対象としたモジュールの一部はobsoleteとされている。この種のモジュールには以下

      php-pecl-apc ==> php-pecl-apcu
      php-mysql ==> php-mysqlnd
      php-zts ==> なし
        

    • 更新後にphp versionをチェック
      # php -v
      PHP 5.6.10 (cli) (built: Jun 11 2015 08:33:51) 
      Copyright (c) 1997-2015 The PHP Group
      Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
      

        


  1. 1 Trackback(s)

  2. Jul 8, 2015: Scientific Linux(ver.6.6)上でMySQL-5.5.44にRPMアップデート | Yama's Memorandum

Post a Comment