Support the ongoing development of Laravel.io →
posted 8 years ago
Installation
Last updated 1 year ago.
0

Found a working solution. I'm sharing it incase someone has encountered the same problem. Run these commands form ssh:

    sudo apt-get install pkg-config libmagickwand-dev -y
    cd /tmp
    wget http://pecl.php.net/get/imagick-3.4.0RC2.tgz
    tar xvzf imagick-3.4.0RC2.tgz
    cd imagick-3.4.0RC2
    phpize
    ./configure
    sudo make install
    rm -rf /tmp/imagick-3.4.0RC2*
    sudo chmod 666 /etc/php/7.0/fpm/php.ini
    echo extension=imagick.so >> /etc/php/7.0/fpm/php.ini
    sudo service php7.0-fpm restart
    sudo service nginx restart  

These will install imagick-3.4.0RC2 for php7. When imagick will be released I suppose that there will be an easier solution.

Cheers!

Last updated 8 years ago.
0

Hi, Great post, found an easier solution if anyone is in the same situation.

sudo apt-get install pkg-config libmagickwand-dev -y
sudo pecl install imagick-beta

This would install the latest beta release which is currently marked as 3.4.0RC6

Cheers :)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

igaster igaster Joined 13 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.