「Aws/ec2/php」の版間の差分
提供: 初心者エンジニアの簡易メモ
(→ec2サーバでphp5.6のphp-opcache.x86_64に失敗する場合) |
|||
行7: | 行7: | ||
sudo yum install libjpeg-turbo --enablerepo=amzn-preview | sudo yum install libjpeg-turbo --enablerepo=amzn-preview | ||
sudo yum install php-gd.x86_64 --enablerepo=remi | sudo yum install php-gd.x86_64 --enablerepo=remi | ||
+ | |||
+ | ==ec2サーバでphp5.6のphp-pecl-memcachedインストールしようとするとエラーとなる場合== | ||
+ | # yum install php-pecl-memcached.x86_64 --enablerepo=remi --enablerepo=remi-php56 | ||
+ | Transaction check error: | ||
+ | file /usr/lib64/libhashkit.so.2.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached-1.0.8-2.6.amzn1.x86_64 | ||
+ | file /usr/lib64/libmemcachedprotocol.so.0.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached-1.0.8-2.6.amzn1.x86_64 | ||
+ | file /usr/lib64/libmemcachedutil.so.2.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached-1.0.8-2.6.amzn1.x86_64 | ||
+ | |||
+ | 実際はこのlibmemcached-last-libsのインストール時のエラー | ||
+ | # yum install libmemcached-last-libs.x86_64 --enablerepo=remi --enablerepo=remi-php56 | ||
+ | |||
+ | amzn1のlibmemcachedを削除するとok | ||
+ | yum remove libmemcached-1.0.8-2.6.amzn1.x86_64 |
2015年6月22日 (月) 13:46時点における版
ec2サーバでphp5.4のphp-gdインストールしようとするとエラーとなる場合
$ sudo yum -y install php-gd.x86_64 --enablerepo=remi Error: Package: php-gd-5.4.18-1.el6.remi.x86_64 (remi) Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit) sudo yum clean all sudo yum install libjpeg-turbo --enablerepo=amzn-preview sudo yum install php-gd.x86_64 --enablerepo=remi
ec2サーバでphp5.6のphp-pecl-memcachedインストールしようとするとエラーとなる場合
# yum install php-pecl-memcached.x86_64 --enablerepo=remi --enablerepo=remi-php56 Transaction check error: file /usr/lib64/libhashkit.so.2.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached-1.0.8-2.6.amzn1.x86_64 file /usr/lib64/libmemcachedprotocol.so.0.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached-1.0.8-2.6.amzn1.x86_64 file /usr/lib64/libmemcachedutil.so.2.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached-1.0.8-2.6.amzn1.x86_64
実際はこのlibmemcached-last-libsのインストール時のエラー
# yum install libmemcached-last-libs.x86_64 --enablerepo=remi --enablerepo=remi-php56
amzn1のlibmemcachedを削除するとok
yum remove libmemcached-1.0.8-2.6.amzn1.x86_64