PHP 8.2.0 Windows release
...and we need a corresponding Imagick release. Is one in the works? Just checking.
PHP 8.3.0 is also released....however I'm not aware of any BC breaks that require a new version of Imagick.
@Danack Not true...PHP 8.2.0 was released just a few days ago on 8 December 2022. PHP 8.3.0 is at least a year off. See https://www.php.net/
When I run the new PHP in XAMPP for Windows, I receive the same kind of error I received a year ago at this time when attempting to use Imagick with PHP 8.2.0 before the new version of Imagick was compiled. The error is:
[22-Dec-2022 00:10:13 UTC] PHP Warning: PHP Startup: imagick: Unable to initialize module Module compiled with module API=20210902 PHP compiled with module API=20220829 These options need to match in Unknown on line 0
Imagick needs to be compiled against the new PHP, apparently. Please advise, and many thanks for your help.
Sorry, I appear to have had a brainfart.
I don't actually make the builds for Imagick on Windows. The code does work against PHP 8.2.0 (and against master which will eventually be PHP 8.3.0)
As per https://github.com/Imagick/imagick/issues/573#issuecomment-1353609195 apparently the box that used to make the windows builds is dead, and hasn't been replaced. I will attempt to chase people who might be working on it.
@Danack @Danack I get the same error, using PHP 8.2.0 in XAMPP for Windows. Looked for imagick version that is compatible with php 8.2. on peck.php.net I could only find imagick 3.7.0 which is compatible to php 7.4, 8.0 and 8.1.
Can you please let me know if and how can I get the compatible version for php 8.2?
/tmp/autopkgtest-lxc.0guk5e6e/downtmp/build.IKf/src/imagick-3.7.0/tests/243_Tutorial_svgExample_basic.phpt
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
-Ok
+Fatal error: Uncaught ImagickException: no decode delegate for this
image format `SVG' @ error/blob.c/BlobToImage/363 in Standard input code:43
+Stack trace:
+#0 Standard input code(43): Imagick->readImageBlob()
+#1 Standard input code(49): svgExample()
+#2 {main}
+ thrown in Standard input code on line 43
This is probably also related to php 8.2 https://bugs.debian.org/1028976
@williamdes Nope. This issue is about the box at windows.php.net not having up-to-date builds. I have never provided builds for Windows.
The code (afaik) works fine on PHP 8.2.
+Fatal error: Uncaught ImagickException: no decode delegate for this image format `SVG' @ error/blob.c/BlobToImage/363 in Standard input code:43
For whatever reason, that system was not compiled with SVG support.
Thank you for this feedback, I will forward it
@Danack Not true...PHP 8.2.0 was released just a few days ago on 8 December 2022. PHP 8.3.0 is at least a year off. See https://www.php.net/
When I run the new PHP in XAMPP for Windows, I receive the same kind of error I received a year ago at this time when attempting to use Imagick with PHP 8.2.0 before the new version of Imagick was compiled. The error is:
[22-Dec-2022 00:10:13 UTC] PHP Warning: PHP Startup: imagick: Unable to initialize module Module compiled with module API=20210902 PHP compiled with module API=20220829 These options need to match in Unknown on line 0
Imagick needs to be compiled against the new PHP, apparently. Please advise, and many thanks for your help.
the same issue, any updates for this?
I'm not sure if I did something wrong but on 8.2 and latest commit I've got this warning:
PHP Warning: Imagick::__toString() implemented without string return type in Unknown on line 0
https://github.com/Imagick/imagick/issues/573#issuecomment-1431773928
@Danack Not true...PHP 8.2.0 was released just a few days ago on 8 December 2022. PHP 8.3.0 is at least a year off. See https://www.php.net/ When I run the new PHP in XAMPP for Windows, I receive the same kind of error I received a year ago at this time when attempting to use Imagick with PHP 8.2.0 before the new version of Imagick was compiled. The error is:
[22-Dec-2022 00:10:13 UTC] PHP Warning: PHP Startup: imagick: Unable to initialize module Module compiled with module API=20210902 PHP compiled with module API=20220829 These options need to match in Unknown on line 0
Imagick needs to be compiled against the new PHP, apparently. Please advise, and many thanks for your help.
the same issue, any updates for this?
me too
Perhaps this needs to be a separate issue, but are there any specific build / make scripts checked in, that people can use to roll their own, if necessary?
Last version here - https://phpext.phptools.online/extension/images/imagick-121