php error: Class 'Imagick' not found

前端 未结 8 988
夕颜
夕颜 2020-12-08 13:20

I am getting the error \"Class \'Imagick\' not found\". Somehow I need to make this library accessible to php. I am using Php 5.2.6 on Fedora 8. my php_info has no mention

相关标签:
8条回答
  • Install Imagic in PHP7:

    sudo apt-get install php-imagick
    
    0 讨论(0)
  • 2020-12-08 13:52

    On an EC2 at AWS, I did this:

     yum list | grep imagick
    

    Then found a list of ones I could install...

     php -v
    

    told me which version of php I had and thus which version of imagick

    yum install php56-pecl-imagick.x86_64
    

    Did the trick. Enjoy!

    0 讨论(0)
提交回复
热议问题