Skip to main content

PHP 8, Imagick

Comments

9 comments

  • cPRex Jurassic Moderator
    Hey there! That output seems normal to me, as Imagick expects MagickWand to be installed first. Can you ensure that this command was run before the pecl command? yum install ImageMagick ImageMagick-devel -y
    0
  • 000
    Hey there! That output seems normal to me, as Imagick expects MagickWand to be installed first. Can you ensure that this command was run before the pecl command? yum install ImageMagick ImageMagick-devel -y

    oh... master @cPRex, now ALL is fine. MANY thanks by your help :)
    0
  • cPRex Jurassic Moderator
    You're very welcome! I'm glad that's all it was!
    0
  • azednetma
    Hello, How to install imagick for php 8.1 ? /opt/cpanel/ea-php81/root/usr/bin/pecl install imagick WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading imagick-3.7.0.tgz ... Starting to download imagick-3.7.0.tgz (360,138 bytes) .........................................................................done: 360,138 bytes 33 source files, building running: phpize
    0
  • cPRex Jurassic Moderator
    @azednetma - there should have been more output after the "running: phpize" line where it continues to process that download. Do you see any additional errors that could provide us with a clue about the problem?
    0
  • azednetma
    @azednetma - there should have been more output after the "running: phpize" line where it continues to process that download. Do you see any additional errors that could provide us with a clue about the problem?

    No more lines. Only the output above.
    0
  • cPRex Jurassic Moderator
    I'm not sure what would have caused it to fail at that point of the build. If the same thing happens again, can you submit a ticket to our team so we can take a look?
    0
  • Christian Schindler
    Hi there, I also have trouble installing ImageMagick. The server is running AlmaLinux v8.8.0 STANDARD standard with cPanel 114.0.7. Affected PHP version is ea-php-81. When I run the "PHP PECL" Installer it says: Last metadata expiration check: 0:45:45 ago on Sat Oct 7 13:07:03 2023. Package ImageMagick-devel-6.9.12.93-1.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! downloading imagick-3.7.0.tgz ... Starting to download imagick-3.7.0.tgz (360,138 bytes) .........................................................................done: 360,138 bytes 33 source files, building running: phpize As it was mentioned before there should be more output after "running: phpsize". When I went back, ImageMagick is not listed in the list of installed PHP PECL(s). I tried to install it with SSH - same problem: [root@server4 ~]# /opt/cpanel/ea-php81/root/usr/bin/pecl install imagick WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading imagick-3.7.0.tgz ... Starting to download imagick-3.7.0.tgz (360,138 bytes) .........................................................................done: 360,138 bytes 33 source files, building running: phpize I updated the pecl protocols: [root@server4 ~]# /opt/cpanel/ea-php81/root/usr/bin/pecl channel-update pecl.php.net Updating channel "pecl.php.net" Update of Channel "pecl.php.net" succeeded After updating the pecs protocols I tried again both, installation via "PHP Pecl installer" and SSH - same problems as before. Would be great if you could help me solve this problem. Kind regards, Christian
    0
  • cPRex Jurassic Moderator
    @Christian Schindler - can you check your PHP settings according to this document and see if that could be related to your situation?
    0

Please sign in to leave a comment.