New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Installing imagick for php7

Started by batgranny, November 29, 2016, 12:00:51 PM

Previous topic - Next topic

batgranny

Hi there,

How do you install imagick for php7?  when you use the script it seems to install fine for php5 but not for 7.  Are there any instructions anywhere?

Administrator

try something like this, make sure that you replace what you need for php7

wget http://pecl.php.net/get/imagick-3.1.0RC2.tgz
tar zxf imagick-3.1.0RC2.tgz
cd imagick-3.1.0RC2
phpize
ln -s /usr/local/include/ImageMagick-6 /usr/local/include/ImageMagick
./configure
make
make test

echo "extension=imagick.so" >> /usr/local/php/php.ini