• Support
  • Not able to install PHP plugin imagick

Hi,
Getting below error while installing imagick php extension, in the panel it shows install but when restart php, gets below error.

PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so

Kindly help to resolve.

    satya876

    Have you manually modified the configuration file?
    Please changeimagick.so.so to imagick.so in php manager --> configuration file

    Hi,
    No I have not edited the configuration file, this issue I believe happening after recent upgrade.
    Please refer attached image.. In the panel it shows extension is installed but actually its not installed..

    Hi, I did following and now its working:

    1. Un-install the Imagick extension from the PHP Manager.
    2. Manually deleted the file "imagic.so" from the extension folder from the folder php/lib/extension/php*****/imagic.so
    3. Then again re-installed the Imagick extension from the PHP Manager.
    4. Now it worked.
    a year later

    Thanks satya876 ! it also worked for me 🙂

    3 years later

    Estou com problema tambem
    toda vez que tento instalar

    /www/server/panel/install/imagick-3.4.4/imagick_file.c:313:112: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’
    313 | zend_bool php_imagick_stream_handler(php_imagick_object *intern, php_stream *stream, ImagickOperationType type TSRMLS_DC)
    | ~~~~~
    make: *** [Makefile:209: imagick_file.lo] Error 1
    error