[Bug]: imagick extension not loading #711
Replies: 18 comments 4 replies
-
Tr specifying the absolute path to the extension instead. |
Beta Was this translation helpful? Give feedback.
-
Hey @mpociot you mean to say like this |
Beta Was this translation helpful? Give feedback.
-
Yeah exactly |
Beta Was this translation helpful? Give feedback.
-
Hey @mpociot , PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Users\prass.config\herd\bin\php81\ext\php_imagick.dll' (tried: C:\Users\prass.config\herd\bin\php81\ext\php_imagick.dll (The specified module could not be found), ext\php_C:\Users\prass.config\herd\bin\php81\ext\php_imagick.dll.dll (The specified module could not be found)) in Unknown on line 0 |
Beta Was this translation helpful? Give feedback.
-
Monitoring if someone has found solution, I have same problem. Would be good if there was a tutorial how to install it for Herd. |
Beta Was this translation helpful? Give feedback.
-
Hey @mpociot, Thank you. |
Beta Was this translation helpful? Give feedback.
-
In addition to installing the imagemagick PHP extension, you will also need to install and download imagemagick itself: https://stackoverflow.com/a/44259058 |
Beta Was this translation helpful? Give feedback.
-
Following, is anyone that for him imagick is working on Windows? |
Beta Was this translation helpful? Give feedback.
-
Anyone found how to resolve this issue on Windows 11? |
Beta Was this translation helpful? Give feedback.
-
Hey @mpociot |
Beta Was this translation helpful? Give feedback.
-
I had the same problem and it's working in Herd now. I had to install the exe: and add the DLLs and update php.ini in C:\Users{my_username}.config\herd\bin\php83 |
Beta Was this translation helpful? Give feedback.
-
Hi @mpociot, did you have any update on it? Really crucial, because some of my colleagues cannot use some projects with the current version Herd on Windows. |
Beta Was this translation helpful? Give feedback.
-
@mpociot Any updates? |
Beta Was this translation helpful? Give feedback.
-
@mpociot Any update? I also face the same issue. I am using herd 1.13.0 and php 7.4 |
Beta Was this translation helpful? Give feedback.
-
Ahh, i already fix that in my project, you should download the imagick exactly version, check with
|
Beta Was this translation helpful? Give feedback.
-
Herd->Services-> click on
There is mismatch post build. None of the versions of imagick suggested above won't work. it's a bug. |
Beta Was this translation helpful? Give feedback.
-
Just adding some info here: 1, a computer restart seemed to work magic :) You need to know what you are working with. Just create a info.php file with Then, use this page https://mlocati.github.io/articles/php-windows-imagick.html and click the filters to narrow it down and download the zip file. Open it up. Drag the Create a directory in the root of the Herd config dir named Do a search in your taskbar for In Herd, Go to the PHP section and right click your PHP version, and choose [Imagick]
extension="C:\Users\[USER]\.config\herd\bin\php84\ext\php_imagick.dll" Obviously replace your username and the correct version of PHP, it should be the path to the dll file you added first from the zip. Save and restart your computer. DO NOT install the ImageMagic installer from https://www.imagemagick.org/script/download.php#windows. I was getting the error, "ImageMagick version 1808 but version 1809 is loaded". Uninstalled it, restarted, and it went away and reports both the same version. If you do the above, it isn't needed Lastly, Restart. It seriously was not working and a restart magically made it work in the end. Hope that helps someone... or myself in the future :) |
Beta Was this translation helpful? Give feedback.
-
This is the solution posted in the Imagick repository: you can use the latest version of Imagick and make sure your extension is the same with your PHP version
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Platform
Windows
Operating system version
Windows 11 version 23H2 (0S Build 22631.3527)
System architecture
Intel (x64) (Windows 11 x64)
Herd Version
1.1.0
PHP Version
8.1
Bug description
As per the herd documentation https://herd.laravel.com/docs/windows/1/advanced-usage/additional-extensions I have added
imagick extension but it shows an error log.
Please help me to solve this error ASAP in herd.
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: ext\imagick (The specified module could not be found), ext\php_imagick.dll (The specified module could not be found)) in Unknown on line 0
Steps to reproduce
No response
Relevant log output
No response
Beta Was this translation helpful? Give feedback.
All reactions