[wp-trac] [WordPress Trac] #54876: WP fails to recognize and use Imagick PHP 8 module on OpenLiteSpeed / Litespeed Web Server
WordPress Trac
noreply at wordpress.org
Sat Jan 22 09:58:32 UTC 2022
#54876: WP fails to recognize and use Imagick PHP 8 module on OpenLiteSpeed /
Litespeed Web Server
--------------------------+------------------------------
Reporter: luboslives | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.8.3
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by SergeyBiryukov):
Hi there, welcome to WordPress Trac! Thanks for the report.
Replying to [ticket:54876 luboslives]:
> **OpenLiteSpeed 1.7.14 with LSPHP 8.0.12**
> Custom Image Processing with WP_Image_Editor_Imagick = **Error** (see
notes*)
> ImageMagick version number = 1690
> ImageMagick version string = ImageMagick 6.9.10-86 Q16 x86_64 2020-01-13
> Imagick version = **@PACKAGE_VERSION@**
The `@PACKAGE_VERSION@` string is likely the culprit here. WordPress
currently supports Imagick 2.2.0 or higher, see [22904] / #22308. If the
version is reported as `@PACKAGE_VERSION@` instead of the correct number,
that does not pass the `version_compare()` check in [source:tags/5.8.3/src
/wp-includes/class-wp-image-editor-imagick.php?marks=50-52#L32
WP_Image_Editor_Imagick::test()].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54876#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list