[英]How to install the php 7 gd extension on debian 8 jessie?
Question answered for Ubuntu but not working for Debian because it's not available yet. 问题回答了Ubuntu,但没有为Debian工作,因为它还没有。 When searching packages.debian.org only packages for php 5 gd are available. 在搜索packages.debian.org时,只有php 5 gd的软件包可用。
What's the preferred way of installing php7.0-gd
in Debian 8 Jessie? 在Debian 8 Jessie中安装php7.0-gd
的首选方法是什么? What's the best unofficial source? 什么是最好的非官方来源?
dotdeb.org appears to have it, install with instructions . dotdeb.org似乎有它,安装说明 。 And run apt-get update
and apt-get install -y php7.0-gd
. 并运行apt-get update
和apt-get install -y php7.0-gd
。
It is available on version Stretch. 它可以在Stretch版本上找到。 This is the best official repo. 这是最好的官方回购。
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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.