小编tom*_*ikl的帖子

在 Debian 上安装 php-gd ext

我无法在我的服务器上安装 php-gd 扩展。

我有 php 7.2:

PHP 7.2.10-1+0~20181001133426.7+jessie~1.gbpb6e829 (cli) (built: Oct  1 2018 13:50:53) ( NTS )
Run Code Online (Sandbox Code Playgroud)

和 debian 8 Linux:

Debian GNU/Linux 8
Run Code Online (Sandbox Code Playgroud)

安装 GD 扩展的命令:

sudo apt-get install php7.2-gd
Run Code Online (Sandbox Code Playgroud)

和结果:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc-ares2 libnfsidmap2 libpcre16-3 libpcre32-3 libuuid-perl libv8-3.14.5 php-http-request php-mail-mimedecode php-net-dime php-net-url
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  php7.2-gd
0 upgraded, …
Run Code Online (Sandbox Code Playgroud)

debian php-gd php-7.2

4
推荐指数
1
解决办法
3万
查看次数

标签 统计

debian ×1

php-7.2 ×1

php-gd ×1