Imagick and OPcache fail to load on Apache sites on Windows

What issue or error are you experiencing?

I am seeing site health performance side error.


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

Went to many help topics but not got any proper solution.


System Details

  • Local Version: Version 10.1.2+7004

  • Operating System (OS) and OS version: Windows 11


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.

Which version of PHP are you using for this site?

Same here. Notice in site health saying that Imagik is missing. Tried on php 8.3.29 first, upgraded to 8.5.1, without changes.

I just created a new, blank site on PHP 8.5 and I’m not seeing any problems in Site Health @Saurav and @jordiP.

Does this happen for you if you create a new, blank site and check it? In other words are you only seeing this on a previously started project?

A fresh wordpress also shows the same warning. Same php version (8.5.1).

It shows only as a warning, it says is an optional component, I guess it’s nothing serious. But I was curious and looked up the error in the forum and found this thread.

Are you also on Windows @jordiP? Or what is your OS version?

Yes, I’m on windows 11

I tested on Windows 11 but I’m still not seeing the same warnings. Could you click the drop down menu here and then Download Local Logs and share that zip with us?

Logs attached.

local-logs.zip (52.9 KB)

Yes this is the same screen i am getting even in new blank site also

Thanks for the reports and for sharing your logs — that was a big help in narrowing this down. We reproduced the issue as occurring only under Apache and found some errors in the PHP error log pointing to a problem with how the PHP environment is loading the imagick dll. I’ve added a ticket to take a closer look and will update this thread as we know more!

#  c:/Users/my-user/Local Sites/imagick-qa/logs/php
[05-Oct-2026 14:40:37 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_imagick.dll' (tried: C:/Users/WPEUser/AppData/Roaming/Local/lightning-services/php-8.2.29+0/bin/win64/ext\php_imagick.dll (The specified module could not be found), C:/Users/WPEUser/AppData/Roaming/Local/lightning-services/php-8.2.29+0/bin/win64/ext\php_php_imagick.dll.dll (The specified module could not be found)) in Unknown on line 0