好吧,就在升级我的Ubuntu并因此迁移到php7之后,我似乎无法使用相同的旧命令为php安装imagick扩展
sudo apt-get install php5-imagick
我收到此错误(也尝试php7-imagick)
Package php5-imagick is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php5-imagick' has no installation candidate
我该怎么办?
可以确认,
—
DopeGhoti
apt-cache search
表明php-imagick
是php7的软件包。
sudo apt install php-imagick
。