php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70225 IMagick php dll will not work with versions later than 6.8.4
Submitted: 2015-08-10 10:24 UTC Modified: 2015-08-11 09:50 UTC
From: p dot hughes at imperial dot ac dot uk Assigned:
Status: Not a bug Package: imagick (PECL)
PHP Version: Irrelevant OS: Windows 2012 R2
Private report: No CVE-ID: None
 [2015-08-10 10:24 UTC] p dot hughes at imperial dot ac dot uk
Description:
------------
[10-Aug-2015 11:06:07 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library 'php_imagick.dll' - The specified procedure could not be found.
 in Unknown on line 0

Just so you are aware, I wanted to update to ImageMagick-6.9.1-10-Q16-x86-dll.exe on the Windows 2012 platform we're running successfully with ImageMagick-6.8.4-0-Q16-x86-dll and PHP 5.6.8.

The installation went fine, and rebooted the server, when I tried to confirm via the phpinfo file to see if the library had loaded, it hadn't and the above issue could be seen.

I've tried various different versions of the php_imagick.dll including the recent RC versions you've had for download and that still didn't solve the issue either so at the moment, the only version I can verify that works with the PHP dll you provide is 6.8.4 32-bit from ImageMagick themselves.

I'm more than happy to try new versions etc to aid in seeing what the problem is.

I'm running PHP within IIS 8.5, so no Apache installation present.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-11 07:44 UTC] ab@php.net
-Status: Open +Status: Not a bug
 [2015-08-11 07:44 UTC] ab@php.net
Please don't use the ImageMagick builds from the imagemagick.org, it is unlikely to work with the official PHP builds. Instead, please fetch a suitable package from http://windows.php.net/downloads/pecl/deps/ , the latest imagick PECL builds should work with it.

Thanks.
 [2015-08-11 08:36 UTC] p dot hughes at imperial dot ac dot uk
Hi and thank you for the response. The one question I'm going to have is how best to install the contents of the zip file onto Windows 2012 R2 for use with the php dll. Do I just add a system path or is there something else which would need to be done? Does it need to exist in the PHP ext dir?

There's nothing within the zip in terms of instructions nor from the web location you gave so if you could assist, that would be great.

Thanks
Paul
 [2015-08-11 09:49 UTC] ab@php.net
The bin\*.dll files need to be on the path. The usual way were just to put them onto the %path% (and you should uninstall the installed ones, or prepend the path with the contents from the zip file). If unsure, unpack info the php dir.

You could also try to use https://github.com/FriendsOfPHP/pickle which will fetch the dependency DLLs automatically (it's still work in progress, but already does the job).

Thanks.
 [2015-08-11 09:50 UTC] ab@php.net
Just that you don't get it wrong - unpack and put bin\*.dll into the php dir, if unsure, not the whole zip i meant :)

Thanks
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 22:01:28 2024 UTC