【问题标题】:How to install the php 7 gd extension on debian 8 jessie?如何在 debian 8 jessie 上安装 php 7 gd 扩展?
【发布时间】:2016-11-29 14:46:17
【问题描述】:

问题已为Ubuntu 回答,但不适用于 Debian,因为它尚不可用。搜索 packages.debian.org 时,只有 php 5 gd 的包可用。

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

【问题讨论】:

    标签: php linux debian gd


    【解决方案1】:

    dotdeb.org 似乎有它,使用instructions 安装。并运行apt-get updateapt-get install -y php7.0-gd

    【讨论】:

      【解决方案2】:

      它在 Stretch 版本中可用。这是最好的官方 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
      

      【讨论】:

        猜你喜欢
        • 2016-09-13
        • 2016-05-09
        • 2015-12-01
        • 1970-01-01
        • 1970-01-01
        • 2019-08-14
        • 1970-01-01
        • 2023-01-19
        • 1970-01-01
        相关资源
        最近更新 更多