...
Code Block |
---|
sudo yum -y update sudo yum -y install epel-release yum-utils sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum -y update sudo yum -y install php php-common php-devel php-bcmath php-gd php-pdo php-pear php-mysqlnd php-mbstring php-xml tidy php-tidy php-soap php-pecl-apcu php-pecl-ssh2 mcrypt php-mcrypt php-pecl-memcache php-intl php-zip redis ImageMagick-devel sudo yum -y install curl policycoreutils openssh-server openssh-clients postfix sudo yum -y update |
Once you install above, ssh connection will be blocked by firewall in some cases. If you want to stop firewalld, you should run:
Code Block |
---|
sudo systemctl stop firewalld |
Regarding PHP settings, please refer PHP configuration I commonly use