安装imagick进行天蓝色 [英] Install imagick to azure
问题描述
我试图在Azure Web应用程序上为php安装Image magick.
我使用了指南-
我已经使用自定义PHP运行时成功安装了此扩展,您提供的文章是很好的资源,请看一下这一部分:如何:使用自定义PHP运行时",您需要注意以下:
1)请在以下位置下载无线程安全版本:
3)请将php_imagick.dll复制到ext文件夹,并将其他8个dll复制到php文件夹
I tried to install Image magick for php on azure web app.
I used the guideline - https://azure.microsoft.com/en-us/documentation/articles/web-sites-php-configure/.
I tried to follow it step by step but it didn't work.
I got this error:
Class 'Imagick' not found in ...
I used the .dll from https://pecl.php.net/package/imagick/3.1.2/windows
Please upload phpinfo.php file to azure website to test whether the imagick extension has been installed, like the following screenshot:
I have use a custom PHP runtime to install this extension successfully, the article you provide is a good resource, please have a look at this part: "How to: Use a custom PHP runtime", you need to pay attention to the following:
1) please download the no thread safe version at: https://pecl.php.net/package/imagick/3.1.2/windows, and also need to match the PHP version
2) If use your customer PHP runtime, please don't forget to change the extension dir path.
3) please copy the php_imagick.dll to the ext folder and other 8 dlls in the php folder
这篇关于安装imagick进行天蓝色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!