[備忘]CentOS7.4 httpd+php7.1+mysql5.7+Imagick 入れたときのメモ

yum -y groupinstall base
yum -y groupinstall development
yum -y groupinstall network-tools
yum -y update
yum -y install epel-release
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
rpm –import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
rpm -ivh http://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
vim /etc/yum.repos.d/remi.repo
yum -y install httpd-devel
yum -y install mod_ssl
yum –enablerepo=remi,remi-php71 install php php-devel php-pdo php-mysqlnd php-mbstring php-mcryp php-gd php-pear php-pecl-apc-devel zlib-devel
yum -y install mysql-devel
yum -y install mysql-server
yum install ImageMagick ImageMagick-devel
pecl channel-update pecl.php.net
pecl install imagick