我尝试使用以下命令:
sudo apt-get install php7-gd
但出现了如下信息:E: 无法定位软件包php7-gd。
如果有人能帮我解决问题,请告诉我,谢谢。
sudo apt-get install php7.0-gd
就可以解决问题了。