• ssh root@debian9
  • sudo apt update
  • sudo apt upgrade
  • sudo apt install ca-certificates apt-transport-https
  • wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add -
  • echo "deb https://packages.sury.org/php/ stretch main" | sudo tee /etc/apt/sources.list.d/php.list
  • sudo apt install php7.2
  • sudo apt install php7.2-cli php7.2-common php7.2-curl php7.2-mbstring php7.2-mysql php7.2-xml

参考链接:链接

怎样在Debian9中安装PHP7.2
Tagged on:         

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注