# 卸载php7.0 apt-get remove -y --purge php7.0* # 安装 PHP7.3 及相关拓展 sudo apt-get install php7.3-cli php7.3-curl php7.3-dev php7.3-zip php7.3-fpm php7.3-gd php7.3-xml php7.3-mysql php-mcrypt php-mbstring php7.3-opcache -y sudo service php7.3-fpm start # 重启 nginx sudo service nginx restart # wordpress 5 推荐安装 sudo apt-get install php-bcmath php-imagick
Debian PHP7.0 升级 PHP7.3
0