• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

php 8 imagick

nMLxTMJTZ

Regular Pleskian
Username: camaran

TITLE

php 8 imagick

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

f

PROBLEM DESCRIPTION

please add imagick module to php 8

STEPS TO REPRODUCE

php 8 not have imagick module

ACTUAL RESULT

f

EXPECTED RESULT

f

ANY ADDITIONAL INFORMATION

f

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Answer the question
 
Oh really? I thought that the imagick maintainers have not yet published their extension for PHP 8. I think as long as they have not done it, Plesk won't provide support for the module either.
 
We cannot include support for something that doesn't exist yet.
Peter is right. Let's wait for Imagick vendor support first.

Note: Next time, I won't accept a report so casually prepared.
 
Odd. Since it has been available within Arch Linux since December 2020, a full month after PHP 8's release date (November 2020), I would have assumed there was a PHP 8 extension. PHP 8.0.3 was released 2 days ago, March 4, 2021.
 
@Arch Linux According to New release with PHP 8 support? · Issue #358 · Imagick/imagick there is no official release. There are some special home-made builds around, but nothing to rely on. If you have different information, please point us to the source where Imagick is officially available for PHP 8 on Linux.
It has been available since December 2020


 
I see now. You are waiting for the PECL release. :rolleyes: Please do not. Plesk supports:

Debian 9 64-bit **YesYes
Debian 10 64-bit **YesYes
Ubuntu 16.04 64-bit **YesYes
Ubuntu 18.04 64-bit **YesYes
Ubuntu 20.04 64-bit **YesYes
CentOS 7.x 64-bitYesYes
CentOS 8.x 64-bit ***YesYes
Red Hat Enterprise Linux 6.x 64-bit *YesYes
Red Hat Enterprise Linux 7.x 64-bit *YesYes
Red Hat Enterprise Linux 8.x 64-bit *YesYes
CloudLinux 7.1 and later 64-bitYesYes
Virtuozzo Linux 7 64-bitYesYes

At the time of this reply, all the available supported distros have enabled PHP 8 with imagick.
 
Any News on this? As more and more Customers are asking on a daily basis what's the Status of imagick on PHP 8 on our Plesk Hostings ...
 
Any update for imagemagick for php 8.x ?

I saw on github.com that complie should now possibly work.
 
I tried and this worked for me

Code:
cd /tmp
git clone https://github.com/Imagick/imagick
cd imagick
nano php_imagick.h -> replace @PACKAGE_VERSION@ to 3.4.5
/opt/plesk/php/8.0/bin/phpize
./configure --with-php-config=/opt/plesk/php/8.0/bin/php-config
make
make install
echo "extension=imagick.so" > /opt/plesk/php/8.0/etc/php.d/imagick.ini
plesk bin php_handler --reread
plesk repair web

Also plesk repair web is not required as when restarting apache + fpmagickisagick
only required
 
/opt/plesk/php/8.0/bin/phpize no such file or path.

IF I use phpize && ./configure --with-php-config=/opt/plesk/php/8.0/bin/php-config

configure: error: Cannot find php-config. Please use --with-php-config=PATH
 
Back
Top