1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to enable Image Magick?

Discussion in 'Server Configuration and Hosting' started by Cryppptic, Jan 4, 2015.

  1. Cryppptic

    Cryppptic Member

    Hey guys.

    I installed Image Magick on my dedicated box to make animated GIFs work on our forums. How is it enabled though and put it action? I can't seem to understand this?

    Thanks in advance.
     
  2. Tracy Perry

    Tracy Perry Well-Known Member

    In addition to installing ImageMagick, you also need to install (or compile if using OLS/LiteSpeed) the PECL for the PHP for it.
     
  3. Cryppptic

    Cryppptic Member

    Thank you!

    And for someone who isn't familiar with terms but usually can figure out with a simple instruction, how would you go about doing that?
     
  4. Solidus

    Solidus Well-Known Member

    Code:
    yum install ImageMagick ImageMagick-devel ImageMagick-perl
    Code:
    pecl install imagick
    Code:
    echo extension=imagick.so >> /etc/php.ini
    Code:
    service httpd restart
    Assuming CentOS.
     
  5. Cryppptic

    Cryppptic Member

    Ubuntu. :)
     
  6. Solidus

    Solidus Well-Known Member

  7. Tracy Perry

    Tracy Perry Well-Known Member

    apt-get -y install php5-imagick
     
  8. Cryppptic

    Cryppptic Member

    Thank you!

    Do I have to clear any caches or refresh anything else to get it to work, by the way? Or add anything else to integrate it with XenForo?

    EDIT: Thanks, read the link. I've been trying to find a tutorial but didn't. Thanks!

    EDIT2: A little question, just before I'm done. For some reason avatars can't be greater than 50kb, and I've been looking for ages for that config to change it, where is it?
     
    Last edited: Jan 4, 2015
  9. Tracy Perry

    Tracy Perry Well-Known Member

    service php5-fpm restart will probably be needed.
    Avatar file size is set in your User Group Permissions
    Screen Shot 2015-01-04 at 5.20.00 PM.png
     
  10. Cryppptic

    Cryppptic Member

    Thank you very much, it works brilliantly. Can mark as resolved or whatever. :p
     

Share This Page