CentOSにPHP5.5をインストール

先人の知恵に従うだけですが…。
CentOSにPHP5.5をインストール – Qiita [キータ]
centos php5.5 – Google 検索

[cc lang=”teraterm”]
[root@centos ~]# php –version
PHP 5.3.3 (cli) (built: Jul 12 2013 20:35:47)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
[/cc]

remiせんせーの召喚
[cc lang=”teraterm”]
[root@centos ~]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm を取得中
警告: /var/tmp/rpm-tmp.IogFP7: ヘッダ V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
準備中… ########################################### [100%]
1:epel-release ########################################### [100%]
[root@centos ~]# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
http://rpms.famillecollet.com/enterprise/remi-release-6.rpm を取得中
警告: /var/tmp/rpm-tmp.Yri16B: ヘッダ V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
準備中… ########################################### [100%]
1:remi-release ########################################### [100%]
[root@centos ~]#
[/cc]

…そういえばrpmコマンドってhttpアクセスできるんでしたっけね…
Subversion入れるときwget要らんかったやん。

気を取り直して今入っているパッケージを確認。
[cc lang=”teraterm”]
[root@centos ~]# yum list installed | grep php
graphviz-php.x86_64 2.26.0-10.el6 @base
php.x86_64 5.3.3-23.el6_4 @updates
php-cli.x86_64 5.3.3-23.el6_4 @updates
php-common.x86_64 5.3.3-23.el6_4 @updates
php-mbstring.x86_64 5.3.3-23.el6_4 @updates
php-mysql.x86_64 5.3.3-23.el6_4 @updates
php-pdo.x86_64 5.3.3-23.el6_4 @updates
php-pear.noarch 1:1.9.4-4.el6 @base
php-xml.x86_64 5.3.3-23.el6_4 @updates
[/cc]

こやつらを更新しまふ。
[cc lang=”teraterm”]
[root@centos ~]# yum install –enablerepo=remi –enablerepo=remi-php55 php php-cli php-common php-mbstring php-mysql php-pdo php-pear php-xml Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.grandcloud.cn
* centosplus: mirror.fairway.ne.jp
* contrib: mirror.fairway.ne.jp
* epel: mirrors.hust.edu.cn
* extras: mirror.fairway.ne.jp
* remi: fr2.rpmfind.net
* remi-php55: fr2.rpmfind.net
* rpmforge: fr2.rpmfind.net
* updates: mirrors.hustunique.com
remi | 2.9 kB 00:00
remi/primary_db | 621 kB 00:02
remi-php55 | 2.9 kB 00:00
remi-php55/primary_db | 120 kB 00:01
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package php.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php.x86_64 0:5.5.6-1.el6.remi will be an update
—> Package php-cli.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php-cli.x86_64 0:5.5.6-1.el6.remi will be an update
—> Package php-common.x86_64 0:5.3.3-23.el6_4 will be updated
–> Processing Dependency: php(api) = 20090626 for package: graphviz-php-2.26.0-10.el6.x86_64
–> Processing Dependency: php(zend-abi) = 20090626 for package: graphviz-php-2.26.0-10.el6.x86_64
—> Package php-common.x86_64 0:5.5.6-1.el6.remi will be an update
–> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.6-1.el6.remi.x86_64
–> Processing Dependency: php-pecl-jsonc(x86-64) for package: php-common-5.5.6-1.el6.remi.x86_64
—> Package php-mbstring.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php-mbstring.x86_64 0:5.5.6-1.el6.remi will be an update
—> Package php-mysql.x86_64 0:5.3.3-23.el6_4 will be obsoleted
—> Package php-mysqlnd.x86_64 0:5.5.6-1.el6.remi will be obsoleting
—> Package php-pdo.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php-pdo.x86_64 0:5.5.6-1.el6.remi will be an update
—> Package php-pear.noarch 1:1.9.4-4.el6 will be updated
—> Package php-pear.noarch 1:1.9.4-23.el6.remi will be an update
–> Processing Dependency: php-posix for package: 1:php-pear-1.9.4-23.el6.remi.noarch
—> Package php-xml.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php-xml.x86_64 0:5.5.6-1.el6.remi will be an update
–> Running transaction check
—> Package php-common.x86_64 0:5.3.3-23.el6_4 will be updated
–> Processing Dependency: php(api) = 20090626 for package: graphviz-php-2.26.0-10.el6.x86_64
–> Processing Dependency: php(zend-abi) = 20090626 for package: graphviz-php-2.26.0-10.el6.x86_64
—> Package php-pecl-jsonc.x86_64 0:1.3.2-2.el6.remi.1 will be installed
—> Package php-pecl-zip.x86_64 0:1.12.2-2.el6.remi.5.5 will be installed
—> Package php-process.x86_64 0:5.5.6-1.el6.remi will be installed
–> Finished Dependency Resolution
Error: Package: graphviz-php-2.26.0-10.el6.x86_64 (@base)
Requires: php(zend-abi) = 20090626
Removing: php-common-5.3.3-23.el6_4.x86_64 (@updates)
php(zend-abi) = 20090626
Updated By: php-common-5.5.6-1.el6.remi.x86_64 (remi-php55)
php(zend-abi) = 20121212-64
Available: php-common-5.3.3-26.el6.x86_64 (base)
php(zend-abi) = 20090626
Available: php-common-5.4.21-2.el6.remi.x86_64 (remi)
php(zend-abi) = 20100525-x86-64
Available: php-common-5.4.22-1.el6.remi.x86_64 (remi)
php(zend-abi) = 20100525-x86-64
Available: php-common-5.5.5-2.el6.remi.x86_64 (remi-php55)
php(zend-abi) = 20121212-64
Error: Package: graphviz-php-2.26.0-10.el6.x86_64 (@base)
Requires: php(api) = 20090626
Removing: php-common-5.3.3-23.el6_4.x86_64 (@updates)
php(api) = 20090626
Updated By: php-common-5.5.6-1.el6.remi.x86_64 (remi-php55)
php(api) = 20121113-64
Available: php-common-5.3.3-26.el6.x86_64 (base)
php(api) = 20090626
Available: php-common-5.4.21-2.el6.remi.x86_64 (remi)
php(api) = 20100412-x86-64
Available: php-common-5.4.22-1.el6.remi.x86_64 (remi)
php(api) = 20100412-x86-64
Available: php-common-5.5.5-2.el6.remi.x86_64 (remi-php55)
php(api) = 20121113-64
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
[root@centos ~]#
[/cc]

なんかおこられた。。。
最近良く怒られるなぁ(๑´;ω;`๑)

phpDocumentor用に入れたgraphviz-phpが依存関係でほげほげ…
phpDocumentorは使ってないので汚物は消毒(ry
[cc lang=”teraterm”]
[root@centos ~]# yum erase graphviz-php
Loaded plugins: fastestmirror, security
Setting up Remove Process
Resolving Dependencies
–> Running transaction check
—> Package graphviz-php.x86_64 0:2.26.0-10.el6 will be erased
–> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================
Removing:
graphviz-php x86_64 2.26.0-10.el6 @base 106 k

Transaction Summary
==============================================================================================================================================
Remove 1 Package(s)

Installed size: 106 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Erasing : graphviz-php-2.26.0-10.el6.x86_64 1/1
Verifying : graphviz-php-2.26.0-10.el6.x86_64 1/1

Removed:
graphviz-php.x86_64 0:2.26.0-10.el6

Complete!
[root@centos ~]#
[/cc]

あらためて。
[cc lang=”teraterm”]
[root@centos ~]# yum install –enablerepo=remi –enablerepo=remi-php55 php php-cli php-common php-mbstring php-mysql php-pdo php-pear php-xml
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.grandcloud.cn
* centosplus: mirror.fairway.ne.jp
* contrib: mirror.fairway.ne.jp
* epel: mirror.premi.st
* extras: mirror.fairway.ne.jp
* remi: remi.schlundtech.de
* remi-php55: remi.schlundtech.de
* rpmforge: mirror.awanti.com
* updates: mirrors.hustunique.com
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package php.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php.x86_64 0:5.5.6-1.el6.remi will be an update
—> Package php-cli.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php-cli.x86_64 0:5.5.6-1.el6.remi will be an update
—> Package php-common.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php-common.x86_64 0:5.5.6-1.el6.remi will be an update
–> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.6-1.el6.remi.x86_64
–> Processing Dependency: php-pecl-jsonc(x86-64) for package: php-common-5.5.6-1.el6.remi.x86_64
—> Package php-mbstring.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php-mbstring.x86_64 0:5.5.6-1.el6.remi will be an update
—> Package php-mysql.x86_64 0:5.3.3-23.el6_4 will be obsoleted
—> Package php-mysqlnd.x86_64 0:5.5.6-1.el6.remi will be obsoleting
—> Package php-pdo.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php-pdo.x86_64 0:5.5.6-1.el6.remi will be an update
—> Package php-pear.noarch 1:1.9.4-4.el6 will be updated
—> Package php-pear.noarch 1:1.9.4-23.el6.remi will be an update
–> Processing Dependency: php-posix for package: 1:php-pear-1.9.4-23.el6.remi.noarch
—> Package php-xml.x86_64 0:5.3.3-23.el6_4 will be updated
—> Package php-xml.x86_64 0:5.5.6-1.el6.remi will be an update
–> Running transaction check
—> Package php-pecl-jsonc.x86_64 0:1.3.2-2.el6.remi.1 will be installed
—> Package php-pecl-zip.x86_64 0:1.12.2-2.el6.remi.5.5 will be installed
—> Package php-process.x86_64 0:5.5.6-1.el6.remi will be installed
–> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================
Installing:
php-mysqlnd x86_64 5.5.6-1.el6.remi remi-php55 258 k
replacing php-mysql.x86_64 5.3.3-23.el6_4
Updating:
php x86_64 5.5.6-1.el6.remi remi-php55 2.5 M
php-cli x86_64 5.5.6-1.el6.remi remi-php55 2.4 M
php-common x86_64 5.5.6-1.el6.remi remi-php55 1.0 M
php-mbstring x86_64 5.5.6-1.el6.remi remi-php55 955 k
php-pdo x86_64 5.5.6-1.el6.remi remi-php55 106 k
php-pear noarch 1:1.9.4-23.el6.remi remi 372 k
php-xml x86_64 5.5.6-1.el6.remi remi-php55 202 k
Installing for dependencies:
php-pecl-jsonc x86_64 1.3.2-2.el6.remi.1 remi-php55 45 k
php-pecl-zip x86_64 1.12.2-2.el6.remi.5.5 remi-php55 265 k
php-process x86_64 5.5.6-1.el6.remi remi-php55 51 k

Transaction Summary
==============================================================================================================================================
Install 4 Package(s)
Upgrade 7 Package(s)

Total download size: 8.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): php-5.5.6-1.el6.remi.x86_64.rpm | 2.5 MB 00:05
(2/11): php-cli-5.5.6-1.el6.remi.x86_64.rpm | 2.4 MB 00:04
(3/11): php-common-5.5.6-1.el6.remi.x86_64.rpm | 1.0 MB 00:02
(4/11): php-mbstring-5.5.6-1.el6.remi.x86_64.rpm | 955 kB 00:02
(5/11): php-mysqlnd-5.5.6-1.el6.remi.x86_64.rpm | 258 kB 00:00
(6/11): php-pdo-5.5.6-1.el6.remi.x86_64.rpm | 106 kB 00:00
(7/11): php-pear-1.9.4-23.el6.remi.noarch.rpm | 372 kB 00:01
(8/11): php-pecl-jsonc-1.3.2-2.el6.remi.1.x86_64.rpm | 45 kB 00:00
(9/11): php-pecl-zip-1.12.2-2.el6.remi.5.5.x86_64.rpm | 265 kB 00:00
(10/11): php-process-5.5.6-1.el6.remi.x86_64.rpm | 51 kB 00:00
(11/11): php-xml-5.5.6-1.el6.remi.x86_64.rpm | 202 kB 00:00
———————————————————————————————————————————————-
Total 382 kB/s | 8.2 MB 00:21
警告: rpmts_HdrFromFdno: ヘッダ V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Importing GPG key 0x00F97F56:
Userid : Remi Collet
Package: remi-release-6.4-1.el6.remi.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : php-xml-5.5.6-1.el6.remi.x86_64 1/19
Updating : php-cli-5.5.6-1.el6.remi.x86_64 2/19
Installing : php-process-5.5.6-1.el6.remi.x86_64 3/19
Updating : 1:php-pear-1.9.4-23.el6.remi.noarch 4/19
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/curl.so’ – /usr/lib64/php/modules/curl.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/fileinfo.so’ – /usr/lib64/php/modules/fileinfo.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ – /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_sqlite.so’ – /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/phar.so’ – /usr/lib64/php/modules/phar.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite3.so’ – /usr/lib64/php/modules/sqlite3.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ – /usr/lib64/php/modules/wddx.so: undefined symbol: php_XML_Parse in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/zip.so’ – /usr/lib64/php/modules/zip.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/curl.so’ – /usr/lib64/php/modules/curl.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/fileinfo.so’ – /usr/lib64/php/modules/fileinfo.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ – /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_sqlite.so’ – /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/phar.so’ – /usr/lib64/php/modules/phar.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite3.so’ – /usr/lib64/php/modules/sqlite3.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ – /usr/lib64/php/modules/wddx.so: undefined symbol: php_XML_Parse in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/zip.so’ – /usr/lib64/php/modules/zip.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/curl.so’ – /usr/lib64/php/modules/curl.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/fileinfo.so’ – /usr/lib64/php/modules/fileinfo.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ – /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_sqlite.so’ – /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/phar.so’ – /usr/lib64/php/modules/phar.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite3.so’ – /usr/lib64/php/modules/sqlite3.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ – /usr/lib64/php/modules/wddx.so: undefined symbol: php_XML_Parse in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/zip.so’ – /usr/lib64/php/modules/zip.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/curl.so’ – /usr/lib64/php/modules/curl.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/fileinfo.so’ – /usr/lib64/php/modules/fileinfo.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ – /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_sqlite.so’ – /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/phar.so’ – /usr/lib64/php/modules/phar.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite3.so’ – /usr/lib64/php/modules/sqlite3.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ – /usr/lib64/php/modules/wddx.so: undefined symbol: php_XML_Parse in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/zip.so’ – /usr/lib64/php/modules/zip.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/curl.so’ – /usr/lib64/php/modules/curl.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/fileinfo.so’ – /usr/lib64/php/modules/fileinfo.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ – /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_sqlite.so’ – /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/phar.so’ – /usr/lib64/php/modules/phar.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite3.so’ – /usr/lib64/php/modules/sqlite3.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ – /usr/lib64/php/modules/wddx.so: undefined symbol: php_XML_Parse in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/zip.so’ – /usr/lib64/php/modules/zip.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/curl.so’ – /usr/lib64/php/modules/curl.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/fileinfo.so’ – /usr/lib64/php/modules/fileinfo.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ – /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_sqlite.so’ – /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/phar.so’ – /usr/lib64/php/modules/phar.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite3.so’ – /usr/lib64/php/modules/sqlite3.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ – /usr/lib64/php/modules/wddx.so: undefined symbol: php_XML_Parse in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/zip.so’ – /usr/lib64/php/modules/zip.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/curl.so’ – /usr/lib64/php/modules/curl.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/fileinfo.so’ – /usr/lib64/php/modules/fileinfo.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ – /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_sqlite.so’ – /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/phar.so’ – /usr/lib64/php/modules/phar.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite3.so’ – /usr/lib64/php/modules/sqlite3.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ – /usr/lib64/php/modules/wddx.so: undefined symbol: php_XML_Parse in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/zip.so’ – /usr/lib64/php/modules/zip.so: undefined symbol: php_checkuid in Unknown on line 0
Updating : php-common-5.5.6-1.el6.remi.x86_64 5/19

WARNING : These php-* RPM 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/

warning: /etc/php.ini created as /etc/php.ini.rpmnew
Installing : php-pecl-zip-1.12.2-2.el6.remi.5.5.x86_64 6/19
PHP Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ – /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_sqlite.so’ – /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite3.so’ – /usr/lib64/php/modules/sqlite3.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ – /usr/lib64/php/modules/wddx.so: undefined symbol: php_XML_Parse in Unknown on line 0
Installing : php-pecl-jsonc-1.3.2-2.el6.remi.1.x86_64 7/19
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so’ – /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_sqlite.so’ – /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite3.so’ – /usr/lib64/php/modules/sqlite3.so: undefined symbol: php_checkuid in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/wddx.so’ – /usr/lib64/php/modules/wddx.so: undefined symbol: php_XML_Parse in Unknown on line 0
Updating : php-pdo-5.5.6-1.el6.remi.x86_64 8/19
Installing : php-mysqlnd-5.5.6-1.el6.remi.x86_64 9/19
Updating : php-5.5.6-1.el6.remi.x86_64 10/19
Updating : php-mbstring-5.5.6-1.el6.remi.x86_64 11/19
Erasing : php-mysql-5.3.3-23.el6_4.x86_64 12/19
Cleanup : php-5.3.3-23.el6_4.x86_64 13/19
Cleanup : 1:php-pear-1.9.4-4.el6.noarch 14/19
Cleanup : php-cli-5.3.3-23.el6_4.x86_64 15/19
Cleanup : php-pdo-5.3.3-23.el6_4.x86_64 16/19
Cleanup : php-mbstring-5.3.3-23.el6_4.x86_64 17/19
Cleanup : php-xml-5.3.3-23.el6_4.x86_64 18/19
Cleanup : php-common-5.3.3-23.el6_4.x86_64 19/19
Verifying : php-pecl-zip-1.12.2-2.el6.remi.5.5.x86_64 1/19
Verifying : php-xml-5.5.6-1.el6.remi.x86_64 2/19
Verifying : php-cli-5.5.6-1.el6.remi.x86_64 3/19
Verifying : php-5.5.6-1.el6.remi.x86_64 4/19
Verifying : php-pdo-5.5.6-1.el6.remi.x86_64 5/19
Verifying : php-pecl-jsonc-1.3.2-2.el6.remi.1.x86_64 6/19
Verifying : php-common-5.5.6-1.el6.remi.x86_64 7/19
Verifying : php-mbstring-5.5.6-1.el6.remi.x86_64 8/19
Verifying : php-mysqlnd-5.5.6-1.el6.remi.x86_64 9/19
Verifying : php-process-5.5.6-1.el6.remi.x86_64 10/19
Verifying : 1:php-pear-1.9.4-23.el6.remi.noarch 11/19
Verifying : php-cli-5.3.3-23.el6_4.x86_64 12/19
Verifying : php-pdo-5.3.3-23.el6_4.x86_64 13/19
Verifying : php-xml-5.3.3-23.el6_4.x86_64 14/19
Verifying : php-common-5.3.3-23.el6_4.x86_64 15/19
Verifying : php-mbstring-5.3.3-23.el6_4.x86_64 16/19
Verifying : php-mysql-5.3.3-23.el6_4.x86_64 17/19
Verifying : php-5.3.3-23.el6_4.x86_64 18/19
Verifying : 1:php-pear-1.9.4-4.el6.noarch 19/19

Installed:
php-mysqlnd.x86_64 0:5.5.6-1.el6.remi

Dependency Installed:
php-pecl-jsonc.x86_64 0:1.3.2-2.el6.remi.1 php-pecl-zip.x86_64 0:1.12.2-2.el6.remi.5.5 php-process.x86_64 0:5.5.6-1.el6.remi

Updated:
php.x86_64 0:5.5.6-1.el6.remi php-cli.x86_64 0:5.5.6-1.el6.remi php-common.x86_64 0:5.5.6-1.el6.remi
php-mbstring.x86_64 0:5.5.6-1.el6.remi php-pdo.x86_64 0:5.5.6-1.el6.remi php-pear.noarch 1:1.9.4-23.el6.remi
php-xml.x86_64 0:5.5.6-1.el6.remi

Replaced:
php-mysql.x86_64 0:5.3.3-23.el6_4

Complete!
[root@centos ~]#
[/cc]

なんかめっちゃ怒られてるけどComplete!って大丈夫かいな…

[cc lang=”teraterm”]
[root@centos ~]# php –version
PHP 5.5.6 (cli) (built: Nov 13 2013 07:48:35)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
[/cc]

う…ごいてるっぽい。

最後にhttpdをrestartしたらphpinfoで5.5になった :)

コメントを残す

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください