Skip to main content

PHP Warning: Module 'imagick' already loaded in Unknown on line 0

Comments

5 comments

  • quietFinn
    Just a thought, could be similar issue I posted here:
    0
  • cPanelLauren
    Are you running CentOS or CloudLinux? PHP extension if running CloudLinux are in a different location. When Imagick is installed on PHP 5.6 files for it are placed here: Build process completed successfully Installing '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/imagick.so' Installing '/opt/cpanel/ea-php56/root/usr/include/php/ext/imagick/php_imagick_shared.h' install ok: channel://pecl.php.net/imagick-3.4.4 Extension imagick enabled in php.ini
    It's a PECL extension and it's not going to be displayed /opt/cpanel/ea-php56/root/etc/php.d You can confirm it's installed by running something like the following (if you're running PHP 5.6) /opt/cpanel/ea-php56/root/usr/bin/php -m |grep imagick imagick
    For the issue you're experiencing, that error message means in an .ini file that's being loaded there is the following: extension=imagick.so
    . The only file this should be present in is the following: [root@server php.d]# cat /opt/cpanel/ea-php56/root/etc/php.d/zzzzzzz-pecl.ini extension="imagick.so"
    I'd suggest looking within the account that is triggering it at any files with the .ini extension
    0
  • Nicor
    Are you running CentOS or CloudLinux? PHP extension if running CloudLinux are in a different location. When Imagick is installed on PHP 5.6 files for it are placed here: Build process completed successfully Installing '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/imagick.so' Installing '/opt/cpanel/ea-php56/root/usr/include/php/ext/imagick/php_imagick_shared.h' install ok: channel://pecl.php.net/imagick-3.4.4 Extension imagick enabled in php.ini
    It's a PECL extension and it's not going to be displayed /opt/cpanel/ea-php56/root/etc/php.d You can confirm it's installed by running something like the following (if you're running PHP 5.6) /opt/cpanel/ea-php56/root/usr/bin/php -m |grep imagick imagick
    For the issue you're experiencing, that error message means in an .ini file that's being loaded there is the following: extension=imagick.so
    . The only file this should be present in is the following: [root@server php.d]# cat /opt/cpanel/ea-php56/root/etc/php.d/zzzzzzz-pecl.ini extension="imagick.so"
    I'd suggest looking within the account that is triggering it at any files with the .ini extension

    The server was upgraded over the weekend to : EasyApache 2.4.41 MySQL 5.6.43 cPanel 82.0 (build 14) PHP 5.6.40 Shows installed, in red letters if that has any meaning /opt/cpanel/ea-php56/root/usr/bin/php -m |grep imagick imagick
    This file is empty, nothing in it. [root@server php.d]# cat /opt/cpanel/ea-php56/root/etc/php.d/zzzzzzz-pecl.ini extension="imagick.so"
    After this upgrade 'imagick' did not run. support at cacloud got it to run, but with the error as listed. every change they made either stop imagik from running, which caused the web site to quit running, or just didn't stop the errors from accumulating. They still have not fix all the segfaults that are being produced after the upgrades. Have told them not to touch it in any way as all they do cause the web sites (2) to shutdown.
    0
  • cPanelLauren
    @Nicor I think at this point, especially since you're indicating that you're segfaulting it might be best to open a support ticket with us. You can get instructions on how to do this in the link in my signature. Once the ticket is open please add the Ticket ID so that I can update this thread with the outcome. Thanks!
    0

Please sign in to leave a comment.