CentOS6.3で、php5.2.17をインストールする方法。(eAccelerator付き♪)

# yum remove php*
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-cli-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-common-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-gd-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-imap-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-mbstring-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-mcrypt-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-mhash-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-mysql-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-pdo-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-devel-5.2.17-1.el6.art.i686.rpm
# wget http://www6.atomicorp.com/channels/atomic/centos/5/i386/RPMS/php-eaccelerator-5.2.17_0.9.6.1-1.el5.art.i386.rpm

# rpm -ivh php-5.2.17-1.el6.art.i686.rpm php-cli-5.2.17-1.el6.art.i686.rpm php-common-5.2.17-1.el6.art.i686.rpm php-gd-5.2.17-1.el6.art.i686.rpm php-imap-5.2.17-1.el6.art.i686.rpm php-mbstring-5.2.17-1.el6.art.i686.rpm php-mcrypt-5.2.17-1.el6.art.i686.rpm php-mhash-5.2.17-1.el6.art.i686.rpm php-mysql-5.2.17-1.el6.art.i686.rpm php-pdo-5.2.17-1.el6.art.i686.rpm php-devel-5.2.17-1.el6.art.i686.rpm php-eaccelerator-5.2.17_0.9.6.1-1.el5.art.i386.rpm

# /etc/init.d/httpd restart

# php -v
PHP 5.2.17 (cli) (built: Jan  7 2011 08:57:50)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with eAccelerator v0.9.6-svn358-dev, Copyright (c) 2004-2007 eAccelerator, by eAccelerator

参照:http://danik.info/downgrade-php-5-3-to-5-2-in-centos-6-2/