CentOS6.xにphp5.4とmysql5.5をyumで入れる

■EPELリポジトリ追加

yum install epel-release

■Remiリポジトリ追加

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

■アップグレード

# yum --enablerepo=remi update php* mysql*

■後処理
/etc/my.cnfの[mysqld]セクションの、default-character-set=utf8をcharacter-set-server=utf8に変更。
httpdとmysqlを再起動する。
参考:https://colo-ri.jp/develop/2011/10/update-php-and-mysql-on-sakura-vps-server.html

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です