Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll'

What issue or error are you experiencing?

The DLL exists in the path but it looks like it might be mixing the slashes up?


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

This occurs for me when selecting any site in Local WP. I found several topics from 2022 and earlier but none had solutions in them.


System Details

  • Local Version: Version 9.2.8+6882

  • Operating System (OS) and OS version: Windows 11 Pro 24H2 26100.6584


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

I have tried both of these PHP versions:

Installing ImageMagick separately gives me this new warning:
Warning: Version warning: Imagick was compiled against ImageMagick version 1808 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 06.8.3

I’ll see if I can find 1808 and install that instead…

OK, so based on this:

The version being reported takes the ImageMagick version (7.1.2) and makes that hexadecimal (0x712) and then converts that to decimal (1810).

So 1808 would be 7.1.0. I could only find installers for that version on this site:

Installing the latest 7.1.0 installer from here fixed the issue:

1 Like

Thank you for the updates here @travis! Glad things are working for you now :green_heart:

1 Like