Username:
TITLE
Plesk with ImageMagick 7.X from OS on Ubuntu 20.04
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian v18.0.57_build1800231122.14 os_Ubuntu 20.04
PROBLEM DESCRIPTION
The imagemagik version coming with ubuntu 20.04 is a old version from 2019. For a project i need conversion from SVG to png, jgg and pdf. The version on ubuntu does not support svg at all. Installing libmagickcore-6.q16-6-extra as told in another thread here adds svg support, BUT the converted images are broken after that - all the lines are super bold instead of thin for example.
So I updated my imagemagik from sources to the latest 7.x version and as the version check on the server shows this worked:
:~# convert --version
Version: ImageMagick 7.1.1-21 Q16-HDRI x86_64 dcffc2de3:20231021 ImageMagick
However even plesk writes it uses the OS version of image magic on all php versions, it does not! It looks like plesk is depending on this packages:
plesk-php82-imagick
plesk-php80-imagick
plesk-php74-imagick
for the different php versions. And those packages depend on imagemagick-6-common and other versiopn 6 packages. So without the plesk-php82-imagick package there seams to be no connection from php 8.2 to imagemagick at all. with the package plesk uses the old version and shows ImageMagick 6.9.10-23 Q16 x86_64 20190101 in phpinfo page.
can i fix this myself sowehow and install a php imagick version that works with my 7+ libary?
on a "normal server" the instruction is according to GitHub - Imagick/imagick: The Imagick PHP extension:
git clone GitHub - Imagick/imagick: The Imagick PHP extension
cd imagick
phpize && ./configure
make
make install
You will also need to add extension=imagick.so to your PHP ini file to make PHP load the extension."
but i dont know what exactly those plesk-phpXX-imagick packages do, and i could not find any information.... can i remove them and do the steps above to add my "own" php imagick pack to php with the php ini? or are the plesk ones needed?
STEPS TO REPRODUCE
Update ImageMagic Libary on OS fopr example with this script/doc
check what libary version OS uses with convert --version = 7.1.1-21
check what version is uses with phpinfo.php = ImageMagick 6.9.10-23 Q16 x86_64 20190101
ACTUAL RESULT
Script not working correctly with old version, plesk using not thje OS Version but an old one because plesk-php82-imagick depends on 6.X version
EXPECTED RESULT
Plesk using new Version from OS
ANY ADDITIONAL INFORMATION
(DID NOT ANSWER QUESTION)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out
TITLE
Plesk with ImageMagick 7.X from OS on Ubuntu 20.04
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian v18.0.57_build1800231122.14 os_Ubuntu 20.04
PROBLEM DESCRIPTION
The imagemagik version coming with ubuntu 20.04 is a old version from 2019. For a project i need conversion from SVG to png, jgg and pdf. The version on ubuntu does not support svg at all. Installing libmagickcore-6.q16-6-extra as told in another thread here adds svg support, BUT the converted images are broken after that - all the lines are super bold instead of thin for example.
So I updated my imagemagik from sources to the latest 7.x version and as the version check on the server shows this worked:
:~# convert --version
Version: ImageMagick 7.1.1-21 Q16-HDRI x86_64 dcffc2de3:20231021 ImageMagick
However even plesk writes it uses the OS version of image magic on all php versions, it does not! It looks like plesk is depending on this packages:
plesk-php82-imagick
plesk-php80-imagick
plesk-php74-imagick
for the different php versions. And those packages depend on imagemagick-6-common and other versiopn 6 packages. So without the plesk-php82-imagick package there seams to be no connection from php 8.2 to imagemagick at all. with the package plesk uses the old version and shows ImageMagick 6.9.10-23 Q16 x86_64 20190101 in phpinfo page.
can i fix this myself sowehow and install a php imagick version that works with my 7+ libary?
on a "normal server" the instruction is according to GitHub - Imagick/imagick: The Imagick PHP extension:
git clone GitHub - Imagick/imagick: The Imagick PHP extension
cd imagick
phpize && ./configure
make
make install
You will also need to add extension=imagick.so to your PHP ini file to make PHP load the extension."
but i dont know what exactly those plesk-phpXX-imagick packages do, and i could not find any information.... can i remove them and do the steps above to add my "own" php imagick pack to php with the php ini? or are the plesk ones needed?
STEPS TO REPRODUCE
Update ImageMagic Libary on OS fopr example with this script/doc
GitHub - SoftCreatR/imei: IMEI - ImageMagick Easy Install
IMEI - ImageMagick Easy Install. Contribute to SoftCreatR/imei development by creating an account on GitHub.
github.com
check what version is uses with phpinfo.php = ImageMagick 6.9.10-23 Q16 x86_64 20190101
ACTUAL RESULT
Script not working correctly with old version, plesk using not thje OS Version but an old one because plesk-php82-imagick depends on 6.X version
EXPECTED RESULT
Plesk using new Version from OS
ANY ADDITIONAL INFORMATION
(DID NOT ANSWER QUESTION)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out