php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71046 unable to load
Submitted: 2015-12-07 03:28 UTC Modified: 2015-12-11 20:08 UTC
From: jiepengthegreat at 126 dot com Assigned:
Status: Not a bug Package: imagick (PECL)
PHP Version: 5.6.16 OS: windows10
Private report: No CVE-ID: None
 [2015-12-07 03:28 UTC] jiepengthegreat at 126 dot com
Description:
------------
PHP Warning:  PHP Startup: Unable to load dynamic library 'ext\php_imagick.dll'.
any other extension work well.

Test script:
---------------
none


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-07 03:41 UTC] danack@php.net
Some information would be useful like:

* how did you install Imagick.

* What version do you have installed.

* Is this a new problem? i.e. have you been able to install Imagick before, or have you never been able to install it?

If you didn't already downloading it from the windows.php.net site is probably a good idea.

ImageMagick from: http://windows.php.net/downloads/pecl/deps/
Imagick from: http://windows.php.net/downloads/pecl/releases/imagick/3.3.0/
 [2015-12-07 03:58 UTC] jiepengthegreat at 126 dot com
I download imagick from http://pecl.php.net/package/imagick. i have tried 3.4.0RC2 3.3.0's 5.6 Thread Safe (TS) x64 version. i move php_imagick.dll to ext directory and add configure in php.ini. but when i run php, it echo PHP Warning:  PHP Startup: Unable to load dynamic library 'ext\php_imagick.dll'. can't find the module(i translate by myself, because the reason gived in chinese). i have been able to install Imagick when i use php 5.5. but this time i used 5.6
 [2015-12-07 16:04 UTC] danack@php.net
Please can you ensure that you have also installed ImageMagick from the link given, as Imagick depends on ImageMagick.

Additionally, please can you paste the whole error message even if it's in Chinese. Imagick is working for other people....so we need to identify what the problem is.
 [2015-12-08 03:45 UTC] jiepengthegreat at 126 dot com
whole error message:
PHP Warning:  PHP Startup: Unable to load dynamic library 'ext\php_imagick.dll' - 找不到指定的模块。
 in Unknown on line 0

yes I've installed ImageMagick.
 [2015-12-09 11:35 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2015-12-09 11:35 UTC] ab@php.net
@jiepengthegreat please don't use any other ImageMagick builds than http://windows.php.net/downloads/pecl/deps/ , pointed out by @danack. The ImageMagick DLLs need to be on the %path%. Parameters for ImageMagick builds have to match with those for your PHP binary. For the CLI usage it's enough to have those DLLs in the PHP root directory. For Apache or IIS an extra configuration might be needed. Also please be sure no other ImageMagick DLLs are on the %path%.

Thanks.
 [2015-12-11 05:48 UTC] jiepengthegreat at 126 dot com
-Status: Feedback +Status: Open
 [2015-12-11 05:48 UTC] jiepengthegreat at 126 dot com
when i add it to path; it work well. thank you so much
 [2015-12-11 20:08 UTC] danack@php.net
-Status: Open +Status: Not a bug
 [2015-12-11 20:08 UTC] danack@php.net
Closing as it works according to the submitter.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 13:01:30 2024 UTC