LoginSignup
3
2

More than 5 years have passed since last update.

Amazon Linux apache2.2にPHP5.6入れようとしてphp-gdが入らなかったのでメモ

Last updated at Posted at 2016-08-25

なんかうまくいかなかったのでメモ。
要求 libt1.so.5()
要求 libwebp.so.5()
などなど言われてgd-lastがyum installできなかった。
下記でおそらく上手くいった。

remiの導入

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

インストール

yum clean all

yum update -y

yum install httpd

yum install --disablerepo=amzn-main  --enablerepo=epel libwebp

yum install libmcrypt libtool-ltdl libtidy libXpm libtiff gd-last autoconf automake

yum install --enablerepo=remi,remi-php56 t1lib

yum install --disablerepo=amzn-main --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-phpseclib-crypt-blowfish php-pecl-apc php-gd php-mysqlnd php-xml

参考サイト

http://nob-log.info/2014/08/25/centos6-yum-install-php56/
http://qiita.com/Ikumi/items/8f76d074134b7080d102
http://iamapen.hatenablog.com/entry/2015/04/14/233123

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2