在哪里可以找到“imagick.so” for ImageMagick 6.9.0.0 x86_64? [英] where can I find "imagick.so" for for ImageMagick 6.9.0.0 x86_64?

查看:468
本文介绍了在哪里可以找到“imagick.so” for ImageMagick 6.9.0.0 x86_64?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不是Linux用户。

I am not a Linux User.

我最近通过本教程在CentOS上安装ImageMagick:

I recently install ImageMagick on a CentOS via this tutorial:

https://www.vultr.com/docs/install-imagemagick- on-centos-6

似乎一切正常安装...

Seems everything installed normally...

看来我在我的服务器上没有imagick.so...

But After install,It seems I do not have "imagick.so" in my server...

我遇到了这个错误' php -m | grep imagick '命令:

I got this error with 'php -m | grep imagick' command:


PHP警告:PHP启动:无法加载动态liberary
' /usr/local/php54/lib/php/extentions/no-debug-non-zts-20100525/imagick.so:
无法打开共享对象文件:在未知
中没有这样的文件或目录0

PHP warning: PHP Startup: Unable to load dynamic liberary '/usr/local/php54/lib/php/extentions/no-debug-non-zts-20100525/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0

同时我也搜索 locate imagick.so 任何文件。

Also I search by locate imagick.so and couldn't find any file.

还有 convert --version ,它返回我的版本6.9.0.0 Q16 X86_64

Also convert --version, It return me the version 6.9.0.0 Q16 X86_64

但我无法运行以下任何代码:

But I couldn't run any of this code:

http://php.net/manual/en/imagick.examples-1.php

现在的问题:

是否有imagick.so文件服务器自己?

Is there a "imagick.so" file to download it to the server myself?

例如,有很多dll文件的窗口有相同的错误...

for example there are a lot of dll file for windows with same error...

我如何解决这个问题?

How can I solve this problem?

我在VPS(centOS6.5 / php5.4)

I am on a VPS (centOS6.5/php5.4)

-----------------编辑

-----------------------Edit

我键入: locate imagick.so

结果:


/ usr / lib64 / php / modules / imagick.so

/usr/lib64/php/modules/imagick.so

usr / lib64 / ImageMagick-6.5.4 / modules-Q16 / coders / magick.so

usr/lib64/ImageMagick-6.5.4/modules-Q16/coders/magick.so

然后我尝试运行: sudo / usr / bin / pecl install imagick

结果:


Php警告:PHP启动:无法加载动态自由
'/ usr / lib64 / modules / imagick.so' - /usr/lib64/modules/imagick.so:
无法打开共享对象文件:没有这样的文件或目录在
行0


。请提供Imagemagick安装的前缀
[autodetect]:

Php warning: PHP Startup:Unable to load dynamic liberay '/usr/lib64/modules/imagick.so' - /usr/lib64/modules/imagick.so: cannot open shared object file: No such file or directory in Unkown on line 0 . . . Please provide the prefix of Imagemagick installation [autodetect] :

可以帮助我更多可以做什么? p>

can help me more what can I to do?

推荐答案

您可以使用php pecl安装imagick extesion。

You can install imagick extesion with php pecl.

打开您的终端并执行:

sudo /usr/bin/pecl install imagick

sudo echo "extension=imagick.so" > /etc/php.d/imagick.ini

sudo /etc/init.d/httpd restart

可以测试后,如果安装正确:

After you can test, if was installed correct:

sudo php -m | grep imagick

这篇关于在哪里可以找到“imagick.so” for ImageMagick 6.9.0.0 x86_64?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆