Skip to main content

Imagick and PHP 8.3

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey hey!  That specific issue you linked has been resolved, but there are other issues such as this one:

    https://github.com/Imagick/imagick/issues/640

    and there are comments as recent as two days ago saying this still isn't working for PHP 8.3.

    0
  • vacancy

    You can install it via pecl

    cd /usr/local
    mkdir imagick83
    cd imagick83
    wget https://pecl.php.net/get/imagick-3.7.0.tgz
    tar xf imagick-3.7.0.tgz
    cd imagick-3.7.0
    /opt/cpanel/ea-php83/root/usr/bin/phpize
    ./configure --with-php-config=/opt/cpanel/ea-php83/root/usr/bin/php-config
    make
    make install

    echo "extension=imagick.so" >> /opt/cpanel/ea-php83/root/etc/php.ini
    service httpd restart

     

    0
  • frenziedfox

    Hi vacancy,

    There was a small error here:

    cd /usr/local
    mkdir imagick83
    cd imagick83
    wget https://pecl.php.net/get/imagick-3.7.0.tgz
    tar xf imagick-3.7.0.tgz
    cd imagick-3.7.0
    /opt/cpanel/ea-php83/root/usr/bin/phpize
    ./configure --with-php-config=/opt/cpanel/ea-php83/root/usr/bin/php-config
    make
    make install

    echo "extension=imagick.so" >> /opt/cpanel/ea-php83/root/etc/php.ini
    service httpd restart

    The rest of the routine went like clockwork. The only thing was it didn't say it was installed in cPanel:

     

    But Xenforo says it it's there!

    Just a tiny point, in case people were wondering.

    Regards,

    Alex

    0

Please sign in to leave a comment.