![]() The problem is the dependencies that the main php_imagick.dll file has. Only I'm using PHP on the command line (PHP CLI). If this still doesn't work then you probably need to copy over the CORE_RL files into your Imagick directory this normally causes more issues but if you are running out ideas then give it a go Please note I've only ever really done this on Windows 7 and Windows Server 2008, 2008 R2, 2012, and 2012 R2 all 圆4 with x86 PHP Then try a slightly older version of Imagick I normally use version 6.8.6-8 Q16. Restart PHP (or your computer) and it should be working if not try a different php_imagick.dll and repeat. Thne locate your php.ini file go to the bottom (or whereever your extensions are) and add extension=php_imagick.dll Step 4 Once you have a php_imagick.dll put it into your php/ext/ folder If this doesn't work then go to php.net and try each version until one works. Just pick the version that matches your install. I've found the following provides the best php_imagick.dll that seems to work 9 times out of 10 This unfortunately is the hard part and can be a bit of trial and error. Just to make sure everything is working open the command line and type convert -version you should get a response Step 3 There is no need to copy anything to your PHP folder ![]() ![]() Once it's installed go to your environment variables and make sure it is actually in the path. Just install but make sure you tick add application path and I normally tick the legacy utils as well. I recommend changing the install directory name to something generic likeĬ:\Imagemagick since I've had some problems in the past with the default directory name with PHP and windows. Regarding Q8 and Q16 I'll leave that to you but both versions will work Get and install a copy of ImageMagick and make sure it matches your Architecture, this also needs to be dll.exe rather than the static version. If Thread Safety is disabled this is NTS is enabled it will TS Step 2 You need to version, Architecture, Compiler and Thread Safety This should work for apache, Nginx, or IIS. So here are the steps I follow myself every time I need to do this. You do not need to put the binary into the PHP folder! Getting Imagick to work on Windows has always been a bit hit and miss as pointed out here is a good guide
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |