RSchwarz
Administrator
Quick and easy install:
One note. I use 64bit versions so the install steps are for the 64bit version of PHP using non-thread safe (NTS) version of PHP.
Lastly reboot the server to load the new DLL's to memory.
You should now see ImageMagick enabled in PHP info.
If you want to install for PHP 7.1 then download the 7.1 deps and PHP extension.
One note. I use 64bit versions so the install steps are for the 64bit version of PHP using non-thread safe (NTS) version of PHP.
- Download ImageMagick zip. Don't use the installer.
- Download the PCL extension for 7.2 from the Windows PHP site
- Download PHP ImageMagick dependencies for PHP 7.2.
- Unzip ImageMagick to C:\ImageMagick.
- Unzip the PHP dependencies and upload all the .dll files in the bin folder to the ImageMagick folder overwriting any files with the same name.
- Unzip the PHP extension and copy it to the PHP ext folder.
- Go to start My Computer, right click and select properties.
- Go to advanced system settings from left menu.
- Click Environment Variables.
- At the bottom select New.
- For variable name input MAGICK_HOME
- For variable value input C:\ImageMagick\. If you put it in a different folder adjust the path and make sure to add the trailing /.
- Click OK.
- In the same area double the click the path variable.
- Add ;C:\ImageMagick\ to the end of the path. Make you sure you add the ; before the path.
Code:
[PHP_IMAGICK]
extension=php_imagick.dll
MAGICK_HOME C:\ImageMagick\
You should now see ImageMagick enabled in PHP info.
If you want to install for PHP 7.1 then download the 7.1 deps and PHP extension.
Last edited: