Disable Imagick version warning PHP 8.3 - cPanel

#1
Hey,
I have this warning in PHP "error_log" file with LiteSpeed + cPanel:
PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1692 but version 1693 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0

I added in MultiINI PHP Editor in WHM the line:
[imagick]
imagick.skip_version_check = 1

I restarted detached PHP process, restarted LiteSpeed.. but the error continues show.
How I can disable GLOBALLY this Warning?
 
#3
Imagick for PHP 8.3 in cPanel with PECL not working. To deploy imagick.so extension require manually steps.
Imagick is working fine but Warning of this version causing big error_log files in cPanel accounts.

I defined in PHP.ini the variable for disable this warning in PHP.ini ( phpinfo() ). In variable show "1" for hide this warning but continues in error_log.
Another case is I defined for not generate log_erros file (error_log) in PHP.ini. But continues generate too.

I tried all tips I know.
So Im trying to find someone who can help me with this.
 

serpent_driver

Well-Known Member
#4
If you have cPanel ask cPanel support how to uninstall and install the correct version for each PHP version, because there is a mismatch between the version of ImageMagick installed and the version that Imagick compiles with.

Is this error only generated if you run a specific script?
 
#5
WordPress need imagick. When execute the code show warning in "error_log".
Dont have another method to install imagick extension in PHP 8.3, is a pecl package problem for imagick and need a manual install of package.
"pecl install" dont work for PHP 8.3."

Have months this problem and the imagick responsible in pecl dont resolve.
 
Top