Author Topic: Installing imagick for php7  (Read 1860 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Installing imagick for php7
« on: November 29, 2016, 12:00:51 PM »
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?

Offline
*
Re: Installing imagick for php7
« Reply #1 on: November 30, 2016, 05:22:37 PM »
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
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services