Hopefully, despite the similar headings for the questions, this is not a duplicate.
I installed ImageMagick-6.7.5-6-Q16-windows-dll.exe .
I have php_imagick_dyn-Q16.dll renamed to php_imagick.dll in PHP ext .
I have extension=php_imagick.dll in my php.ini .
I am trying to run a basic test: php -r "var_dump(class_exists('Imagick'));" .
I get this error:
PHP Startup: imagick: unable to initialize module
Module compiled with module API = 20060613
PHP compiled with module API = 20090626
These parameters must match.
CLI has stopped working.
Windows can check online to solve the problem.
> Check the online solution and close the program
> Close the program
What I did wrong?
source share