...
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-pgsql php-mbstring php-pecl-redis php-xml tidy php-tidy php-soap php-zip php-pecl-zip 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 vim sudo yum -y update |
You may need to enable some servers just in case
Code Block |
---|
sudo systemctl enable postfix
sudo systemctl enable sshd
sudo systemctl enable httpd |
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 |
---|
firewall-cmd --zone=public --permanent --add-service=http
firewall-cmd --zone=public --permanent --add-service=mysql
firewall-cmd --zone=public --permanent --add-service=ssh
firewall-cmd --reload |
Regarding PHP settings, please refer PHP configuration I commonly use
Include Page | ||||
---|---|---|---|---|
|