回答爲Ubuntu的問題,但無法在Debian上使用,因爲它尚未提供。當搜索packages.debian.org只有php 5 gd的軟件包可用。如何在debian 8 jessie上安裝php 7 gd擴展?
在Debian 8 Jessie中安裝php7.0-gd
的首選方式是?什麼是最好的非官方來源?
回答爲Ubuntu的問題,但無法在Debian上使用,因爲它尚未提供。當搜索packages.debian.org只有php 5 gd的軟件包可用。如何在debian 8 jessie上安裝php 7 gd擴展?
在Debian 8 Jessie中安裝php7.0-gd
的首選方式是?什麼是最好的非官方來源?
dotdeb.org似乎有它,安裝instructions。並運行apt-get update
和apt-get install -y php7.0-gd
。
它在版本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