Php 致命错误:类';Imagick';未找到Ubuntu 14.04.5 LTS

Php 致命错误:类';Imagick';未找到Ubuntu 14.04.5 LTS,php,apache,ubuntu-14.04,imagick,Php,Apache,Ubuntu 14.04,Imagick,我正在运行Ubuntu 14.04.5 LTS 我已经运行了以下命令 sudo apt-get update sudo apt-get install imagemagick sudo apt-get install php5-imagick sudo apt-get update 编辑我的php.in/etc/php/5.6/apache2/php.ini在文件末尾添加了以下内容 extension=imagick.so 在这一切之后 sudo service apache2 restar

我正在运行Ubuntu 14.04.5 LTS

我已经运行了以下命令

sudo apt-get update
sudo apt-get install imagemagick
sudo apt-get install php5-imagick
sudo apt-get update
编辑我的php.in/etc/php/5.6/apache2/php.ini在文件末尾添加了以下内容

extension=imagick.so
在这一切之后

sudo service apache2 restart
但我仍然得到了错误,即使在php-m中,它也没有显示Imagick

使用


好了,终于找到解决办法了

 sudo apt-get install php5.6-imagick
 sudo service apache2 graceful

好了,终于找到解决办法了

 sudo apt-get install php5.6-imagick
 sudo service apache2 graceful