升级php7.2到7.4

安装php7.4

apt-get -y install php7.4 libapache2-mod-php7.4 php7.4-mysql php7.4-curl php7.4-gd php7.4-intl php-pear php-imagick php7.4-imap php-memcache php7.4-pspell php7.4-sqlite3 php7.4-tidy php7.4-xmlrpc php7.4-xsl php7.4-mbstring php-gettext php7.4-opcache php-apcu php-zip php-mbstring php-xml php-xml-rpc2

停用7.2

a2dismod php7.2

启用7.4

a2enmod php7.4