直接上指令!
 
yum -y install dnf

yum -y install yum-utils
yum-config-manager --disable 'remi-php*'
yum-config-manager --enable remi-php82

dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
dnf remove -y php php-*
dnf install -y php php-opcache php-cli php-common php-devel php-fpm php-gd php-imap php-mbstring php-pecl-mcrypt  php-opcache php-pdo php-xml php-snmp php-soap php-tidy php-mysqlnd php-pear php-bcmath php-pecl-zip php-imagick php-geoip

Facebook 討論區載入中...