php 5.3.0からphp 5.2.10にダウングレード
先日php 5.3.0にアップグレードしましたが、wordpress 2.8.4で、一部プラグインが動作しないのと、
webアプリケーションが動作しなかったので、ダウングレードしました。
その時の手順です。
[bash]
php5.3.0とモジュール関連をアンインストール
[root@centos ~]# yum -y remove php*
…
…..
[/bash]
[bash]
remiからphp5.2.10と関連モジュールをダウンロード
64bitの場合
[root@centos ~]#wget
[root@centos ~]#wget
[root@centos ~]#wget
[root@centos ~]#wget
[root@centos ~]#wget
[root@centos ~]#wget
[root@centos ~]#wget
[root@centos ~]#wget
[root@centos ~]#wget
[root@centos ~]#wget
[root@centos ~]#wget
[root@centos ~]#wget
[/bash]
[bash]
php 5.2.10と関連モジュールをインストール
[root@centos ~]#rpm -ivh php-cli-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-common-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-gd-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-ldap-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-mbstring-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-mcrypt-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-mysql-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-pdo-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-snmp-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-xml-5.2.10-1.el5.remi.i386.rpm
[root@centos ~]#rpm -ivh php-xmlrpc-5.2.10-1.el5.remi.i386.rpm
[/bash]
これで、正常動作するようになりました。
ディスカッション
コメント一覧
php5.3系で僕も面倒なことになって色々ググってこの記事を拝見しました。
参考になりました!
ありがとうございました!!