Imagick disappeared after a reboot
We're currently running v86.0.18 of cPanel. Before that, there was the link/message asking to reboot for the new updates to take effect. After the reboot, ImageMagick disappeared.
ImageMagick installed
[root@host2 centos]# rpm -qa|grep ImageMagick
ImageMagick-6.9.10.68-3.el7.x86_64
ImageMagick-devel-6.9.10.68-3.el7.x86_64
Module is "loaded" via the zzzzzzz-pecl.ini file
[root@host2 centos]# cat /opt/cpanel/ea-php70/root/etc/php.d/zzzzzzz-pecl.ini
extension="imagick.so"
[root@host2 centos]# cat /opt/cpanel/ea-php73/root/etc/php.d/zzzzzzz-pecl.ini
extension="imagick.so"
Checking for the module
[root@host2 centos]# /opt/cpanel/ea-php70/root/bin/php -m |grep -i pdo
PDO
pdo_mysql
pdo_sqlite
[root@host2 centos]# /opt/cpanel/ea-php70/root/bin/php -m |grep -i image
*same when running: [root@host2 centos]# /opt/cpanel/ea-php73/root/bin/php -m |grep -i image
I also restarted httpd and viewed the web page with "phpinfo()" code - also nothing.
Modules Loaded in Apache:
[root@host2 centos]# httpd -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_prefork_module (shared)
cgi_module (shared)
access_compat_module (shared)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
expires_module (shared)
filter_module (shared)
headers_module (shared)
include_module (shared)
log_config_module (shared)
logio_module (shared)
mime_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_fcgi_module (shared)
proxy_http_module (shared)
proxy_wstunnel_module (shared)
rewrite_module (shared)
setenvif_module (shared)
slotmem_shm_module (shared)
socache_dbm_module (shared)
socache_shmcb_module (shared)
socache_redis_module (shared)
status_module (shared)
unique_id_module (shared)
unixd_module (shared)
userdir_module (shared)
bwlimited_module (shared)
ssl_module (shared)
security2_module (shared)
ruid2_module (shared)
[root@host2 centos]#
Modules loaded in PHP7.0
[root@host2 centos]# /opt/cpanel/ea-php70/root/bin/php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
filter
ftp
gd
hash
imap
intl
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib
[Zend Modules]
What are we missing ?? Would appreciate any pointers or suggestions on how to troubleshoot this. The ImageMagick was working perfectly until the reboot.
-
Found a solution, although I still don't know what went wrong. Basically, I had to uninstall Imagick, remove the cache and reinstall again, i.e. /opt/cpanel/ea-php70/root/bin/pecl uninstall imagick rm -rf /opt/cpanel/ea-php70/root/usr/var/cache/php-pear/* /opt/cpanel/ea-php70/root/bin/pecl install imagick That seems to fix the issue. But why Imagick disappeared (or rather, not loaded) in the first place is still a mystery. It is loaded in the /opt/cpanel/ea-php70/root/etc/php.d/zzzzzzz-pecl.ini file. If anyone can shed a clue, I'd greatly appreciate it. Thanks! 0 -
A reboot shouldn't do this. Was anything noted in the yum logs at /var/log/yum.log
?0 -
My guess it has something to do with the Centos 7.8 update which would likely be the reason for the reboot. They list "ImageMagick has been rebased from 6.7.8 to 6.9.10" under their Major Issues. "Red Hat have updated the ImageMagick package from 6.7.8 to 6.9.10 and some things in third party yum repos that build against it will need to be rebuilt to cater for this." 0 -
The instructions in the link provided gives the steps to uninstall/reinstall via the command line - furthermore, you can install via the interface, that's not ever been the issue, it's just not going to show in the interface until that issue is resolved though they function normally. 0 -
My guess it has something to do with the Centos 7.8 update which would likely be the reason for the reboot. They list "ImageMagick has been rebased from 6.7.8 to 6.9.10" under their Major Issues. "Red Hat have updated the ImageMagick package from 6.7.8 to 6.9.10 and some things in thir d party yum repos that build against it will need to be rebuilt to cater for this."
0
Please sign in to leave a comment.
Comments
7 comments