Using latest MAMP with PHP 8.3.28, imagick 3.8.0 enabled. phpinfo reports "Imagick compiled with ImageMagick version 7.1.0-23 Q16-HDRI x86_64 2022-02-05" and "Imagick using ImageMagick library version 7.1.0-23 Q16-HDRI x86_64 2022-02-05". However, any attempt to use Imagick::METRIC_SSIM continues to fail with "Uncaught Error: Undefined constant Imagick::METRIC_SSIM".
Using latest MAMP with PHP 8.3.28, imagick 3.8.0 enabled. phpinfo reports "Imagick compiled with ImageMagick version 7.1.0-23 Q16-HDRI x86_64 2022-02-05" and "Imagick using ImageMagick library version 7.1.0-23 Q16-HDRI x86_64 2022-02-05". However, any attempt to use Imagick::METRIC_SSIM continues to fail with "Uncaught Error: Undefined constant Imagick::METRIC_SSIM".