[[mami3インストール]]
** PHP を入れる [#p184db81]
PHP 7 をいれる。~
[root@dhcp241 sekigawa]# yum -y install http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
[root@dhcp241 sekigawa]# sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/remi-safe.repo
[root@dhcp241 sekigawa]# yum --enablerepo=remi-safe -y install php70 php70-php-pear php70-php-mbstring
[root@dhcp241 sekigawa]# scl enable php70 bash
[root@mami sekigawa]# vi /etc/profile.d/php70.sh
#!/bin/bash
source /opt/remi/php70/enable
export X_SCLS="`scl enable php70 'echo $X_SCLS'`"
[root@dhcp241 sekigawa]# yum --enablerepo=remi-safe -y install php70-php-fpm
[root@dhcp241 sekigawa]# vi /etc/httpd/conf.d/php.conf
[root@mami sekigawa]# yum --enablerepo=remi-safe -y install php70-php