Monday, July 16, 2012

cagefs - Image magick module error

Image magick module was attempted to be installed on a cpanel server as usual,but it didn't show up on the phpinfo page and error log showed as.
++++++++++++
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
++++++++++++

Fix:-
cagefsctl --update

So moral of the story is to run cagefsctl --update after any new php module installation for it to take effect in a cpanel server with cagefs support

1 comment: