Version warning: Imagick was compiled against ImageMagick version 1692 but version 1693 is loaded
I'm surprised email piping runs the main PHP version, and not the account one, but after finding that out, my issue persists. Emails are processed, but bounced back because:
<br />
<b>Warning</b>: Version warning: Imagick was compiled against ImageMagick version 1692 but version 1693 is loaded. Imagick will run but may behave surprisingly in <b>Unknown</b> on line <b>0</b><br />
I've tried the suggestion posted here: https://support.cpanel.net/hc/en-us/community/posts/26582838203031-Version-warning-Imagick-was-compiled-against-ImageMagick-version-1692-but-version-1693-is-loaded
but that didn't work on PHP 8.3
It seems that this issue has existed for months, but there's still no official fix, is there? Any ideas about what else can be done (when uninstall and install imagick didn't fix it).
The fact that I had to downgrade the entire server PHP to 7.4 has been a really ugly hack. I'd appreciate any solution.
-
Hey there! Unfortunately the Pecl hasn't been released for PHP 8.3, so there isn't a way to get that working at this time. There are more details about this here:
https://support.cpanel.net/hc/en-us/community/posts/19653628594071
but ultimately they just haven't released that tool for PHP 8.3 yet, so it is beyond our control. You can see the last update was over 2 years ago here:
https://pecl.php.net/package/imagick
Now, with that being said, are you just getting that warning or is that actually keeping your work from being processed? To me, that error message looks like a non-fatal warning and may be able to be ignored.
0 -
It is being processed, but emails are bounced back and because of this they're not sent anymore. So yes, it prevents the work from being processed.
The "solution" -even though very ugly- would be to not output anything. I guess in Linux that would be to output to null. My current command (in the email filter) is: | php -q /home/account/script.php
Can you provide me the exact command to output to null? (something like > NUL).
0 -
So I guess the question behind the question - why does email piping care about ImageMagick at all? What specific call is leading to that error showing up?
0 -
does it help if you use:
| /opt/cpanel/ea-phpXX/root/usr/bin/php -q /home/account/script.php
where XX is the PHP version you want to use.0
Please sign in to leave a comment.
Comments
4 comments