{"id":8101,"date":"2019-10-28T17:49:04","date_gmt":"2019-10-28T21:49:04","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=8101"},"modified":"2021-12-08T10:52:46","modified_gmt":"2021-12-08T15:52:46","slug":"imagick-php-extension","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/imagick-php-extension\/","title":{"rendered":"How to Properly Install the Imagick PHP extension in Windows"},"content":{"rendered":"\n
There might arise the occasion where you hit a roadblock when trying to install the Imagick PHP extension on Windows. When all is done there are times when even though there was no error reported, this extension does not work as expected.<\/span><\/p>\n\n\n\n The Imagick PHP extension allows developers to use the features of the ImageMagick, the suite for displaying, converting, and editing raster image and vector image files directly in your PHP<\/a> code.<\/span><\/p>\n\n\n\n Before you install this graphics extension you need to know what PHP version you are currently using by running the following commands in CMD or Powershell terminal.<\/span><\/p>\n\n\n\n Type this to determine the PHP version:<\/span><\/p>\n\n\n\n Next, you need to determine the thread-safety, where, ‘enabled<\/strong>‘ means you are using a thread-safe version and ‘disabled<\/strong>‘ means you are using a non-thread-safe version:<\/span><\/p>\n\n\n\n Finally, you need to determine the architecture, where, x86<\/strong> means you are using the 32bits version and x64<\/strong> for the 64bit version:<\/span><\/p>\n\n\n\nphp -i|find "PHP Version"<\/code><\/pre>\n\n\n\n
php -i|find "Thread Safety"<\/code><\/pre>\n\n\n\n
php -i|find "Architecture"<\/code><\/pre>\n\n\n\n