CentOS6.4にMySQL5.6.12、PHP5.4.17を入れようとしてつまづく

シェアする

ちょっと最近のバージョンで環境構築しようと
CentOS6.4にOracle版MySQL5.6.12を入れた後に、remiからPHP5.4.17を入れようした

[psychedelic@local ~]$ sudo yum install --enablerepo=remi php php-mbstring php-
mysql php-gd php-pear php-xml php-mcrypt pcre-devel php-devel

お約束的にいつも入れるパッケージ達をインストール。
と思ったら事前チェックでエラー ぐぬぬ

Transaction Check Error:
  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.5.32-1.el6.remi.x86_64 conflicts with file from package MySQL-server-5.6.12-1.el6.x86_64
  file /usr/share/mysql/charsets/armscii8.xml from install of mysql-libs-5.5.32-1.el6.remi.x86_64 conflicts with file from package MySQL-server-5.6.12-1.el6.x86_64
  file /usr/share/mysql/charsets/ascii.xml from install of mysql-libs-5.5.32-1.el6.remi.x86_64 conflicts with file from package MySQL-server-5.6.12-1.el6.x86_64
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.5.32-1.el6.remi.x86_64 conflicts with file from package MySQL-server-5.6.12-1.el6.x86_64
(以下略)

MySQL-shared-compat-5.6.12-1.el6.x86_64.rpm を事前にインストールしてるはずなんで
mysql-libs関連も置き換わってるはずなんだけど、、、

結局php-mysql ではなく php-mysqlndにすることで解消
いまいち理解できてないのだが、もうMySQL5.6からはphp-mysqlnd使えよっていう話なのだろうか

スポンサーリンク
レクタングル大 広告

シェアする

フォローする

スポンサーリンク
レクタングル大 広告

コメント