Fedora-安装不同版本的php

#参考网址 https://blog.remirepo.net/post/2016/04/16/My-PHP-Workstation
#https://rpms.remirepo.net/fedora/
dnf -y install yum-plugin-priorities.noarch
dnf -y install https://rpms.remirepo.net/fedora/remi-release-27.rpm
dnf config-manager --set-enabled remi

dnf -y install php56-php php56-php-pear php56-php-devel php56-php-fpm php56-php-mysqli php56-php-gd php56-php-cgi php56-php-curl php56-php-mbstring php56-php-bcmath php56-php-apc

systemctl enable php56-php-fpm
systemctl start php56-php-fpm