php -m | grep imagick imagick = true, but in PHPINFO() = false
Hello.
all is ok when I run
but in page PHP [PHP][root@pepsi ~]# grep CPANEL /etc/cpupdate.conf CPANEL=release [root@pepsi ~]# cat /usr/local/cpanel/version 11.84.0.9 [root@pepsi ~]# cat /etc/redhat-release; CentOS Linux release 7.7.1908 (Core) [root@pepsi ~]#
[root@pepsi ~]# php -m | grep imagick
imagickbut in page PHP [PHP][root@pepsi ~]# grep CPANEL /etc/cpupdate.conf CPANEL=release [root@pepsi ~]# cat /usr/local/cpanel/version 11.84.0.9 [root@pepsi ~]# cat /etc/redhat-release; CentOS Linux release 7.7.1908 (Core) [root@pepsi ~]#
-
[root@pepsi ~]# locate imagick.so /opt/cpanel/ea-php71/root/usr/lib64/php/modules/imagick.so /opt/cpanel/ea-php72/root/usr/lib64/php/modules/imagick.so /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so [root@pepsi ~]#
but PHPINFO() continue empty about ImaGick0 -
[root@pepsi ~]# convert -version Version: ImageMagick 6.7.8-9 2019-08-08 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features: OpenMP [root@pepsi ~]#
but PHPINFO() continue empty about iMagick0 -
oh my god!... I lost more of 4 hours in this ... I restart APACHE many times, and run many commands... finally I suspect: "and if is OTHER BUG of cPanel as with BrowScap which requires restart the server and not just apache"... and YES!, other BUG of cPanel! only fixed when you restart ALL SERVER and not oly Apache (identic in the case of BrowScap) Subject finished ! :-) thanks 0 -
I've never heard of anyone having to restart the server in order to get imagick to function. This sounds like something else occurred to cause it not to function. I am glad to see that you were able to get it working, though I do feel it would warrant some further investigation. 0 -
I've never heard of anyone having to restart the server in order to get imagick to function. This sounds like something else occurred to cause it not to function. I am glad to see that you were able to get it working, though I do feel it would warrant some further investigation.
Thanks Lauren. The best would be what you say, but unfortunately when you touch/opt/cpanel/ea-php{X}/root/etc/php.ini
this changes only load when you restart ALL SERVER, no"t just Apache. This problem exist from many time back, as by example when you setup BrowScap[browscap] ; http://php.net/browscap browscap = /home/full_php_browscap-2019-11.ini
this sample change never is loaded by Apache until when you restart the machine... Years ago it was different: only restart Apache and all fine. Now, we need restart the server complet for any change in PHP.ini :-s0 -
Extensions should never be placed directly into the global php.ini file. They're added with an include, if you're making modifications to this manually it will cause issues. 0 -
Hello! Installed imagick using WHM, not editing manually and nothing found in phpinfo(). Found this thread, reboot and now is working fine and shows up in phpinfo(). Cheers! 0 -
@000 Are you using PHP-FPM by chance? It seems like I had to restart PHP-FPM after installing Imagick for the version of PHP I was using to get Imagick working. If you are using PHP-FPM, that might explain why rebooting the server fixed it; it would have restarted PHP-FPM. 0 -
Hello @linux4me2 im using PHP-FPM and only restarted apache. The next time i will try restarting PHP-FPM, I had not thought of it. 0 -
that is other BUG in cPanel, for load/refresh the current config, is necessary restart the server/VPS. :-| 0 -
@000 Are you using PHP-FPM by chance? It seems like I had to restart PHP-FPM after installing Imagick for the version of PHP I was using to get Imagick working. If you are using PHP-FPM, that might explain why rebooting the server fixed it; it would have restarted PHP-FPM.
Damn, you are right! i also lost a few hours to find why imagick not loading! I thought when Apache is restarted it also restarts PHP-FPM too! But obviously not!0
Please sign in to leave a comment.
Comments
11 comments