PHP Fatal error: Uncaught Error: Class 'Imagick' not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-imagick (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
There seems to have been a regression in php7 and/or php-imagick since 16.04.
Using the pictor package from Ubuntu Universe, I have failures in /var/log/
[Mon Feb 05 12:51:08.495059 2018] [:error] [pid 25617] [client ::1:47710] PHP Fatal error: Uncaught Error: Class 'Imagick' not found in /usr/share/
...
There seems to be a weird combination of PHP 7.0 and 7.1 packages on my system. Perhaps that's the root of the problem?
kirkland@
ii libapache2-
ii php-common 1:54ubuntu1 all Common files for PHP packages
ii php-getid3 1.9.14+dfsg-1 all scripts to extract information from multimedia files
ii php-imagick 3.4.3~rc2-2ubuntu3 amd64 Provides a wrapper to the ImageMagick library
ii php7.0-cli 7.0.22-
ii php7.0-common 7.0.22-
ii php7.0-json 7.0.22-
ii php7.0-opcache 7.0.22-
ii php7.0-readline 7.0.22-
ii php7.1-cli 7.1.11-
ii php7.1-common 7.1.11-
ii php7.1-json 7.1.11-
ii php7.1-opcache 7.1.11-
ii php7.1-phpdbg 7.1.11-
ii php7.1-readline 7.1.11-