如何在Debian8Jessie上安装PHP7GD扩展?

如何在Debian8Jessie上安装PHP7GD扩展?,php,linux,debian,gd,Php,Linux,Debian,Gd,问题已回答,但不适用于Debian,因为它还不可用。搜索时,只有PHP5GD包可用 在Debian 8 Jessie中安装php7.0-gd的首选方法是什么?最好的非官方源代码是什么?似乎有,请使用安装。然后运行apt-get-update和apt-get-install-y php7.0-gd来安装它。然后运行apt-get-update和apt-get-install-y php7.0-gd它在版本扩展上提供。这是最好的官方回购协议 php7.0-gd: Installed: (none

问题已回答,但不适用于Debian,因为它还不可用。搜索时,只有PHP5GD包可用


在Debian 8 Jessie中安装php7.0-gd的首选方法是什么?最好的非官方源代码是什么?

似乎有,请使用安装。然后运行
apt-get-update
apt-get-install-y php7.0-gd

来安装它。然后运行
apt-get-update
apt-get-install-y php7.0-gd

它在版本扩展上提供。这是最好的官方回购协议

php7.0-gd:   Installed: (none)   Candidate:
 7.0.12-1   Version table:
      7.0.13-2 350
         350 http://ftp.fi.debian.org/debian sid/main i386 Packages
      7.0.12-1 500
         500 http://httpredir.debian.org/debian stretch/main i386 Packages

echo 'deb http://httpredir.debian.org/debian stretch main' >> /etc/apt/sources.list.d/stretch.list

它在Stretch版本上提供。这是最好的官方回购协议

php7.0-gd:   Installed: (none)   Candidate:
 7.0.12-1   Version table:
      7.0.13-2 350
         350 http://ftp.fi.debian.org/debian sid/main i386 Packages
      7.0.12-1 500
         500 http://httpredir.debian.org/debian stretch/main i386 Packages

echo 'deb http://httpredir.debian.org/debian stretch main' >> /etc/apt/sources.list.d/stretch.list