【发布时间】:2021-11-09 10:05:23
【问题描述】:
我想在我当前的 php-project(php 版本为 7.2.34)中安装 gd 扩展,因为我使用此命令 sudo apt-get install php7.2-gd 它会引发以下错误,并且当我运行 php -m 命令时它没有显示在列表中,如何安装gd扩展请帮我解决这个问题..
Error
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php7.2-gd : Depends: libjpeg62-turbo (>= 1.3.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
【问题讨论】:
标签: php php-extension php-gd