Jei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
PrisijungtiRegistruotisJei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
yum -y groupinstall 'Development Tools'
yum -y install bzip2-devel freetype-devel libjpeg-devel libpng-devel libtiff-devel giflib-devel zlib-devel ghostscript-devel djvulibre-devel libwmf-devel jasper-devel libtool-ltdl-devel libX11-devel libXext-devel libXt-devel lcms-devel libxml2-devel librsvg2-devel OpenEXR-devel php-devel perl-ExtUtils-MakeMaker
wget https://imagemagick.org/download/ImageMagick.tar.gz
tar xvzf ImageMagick.tar.gz
cd ImageMagick*
./configure
make
make install
ldconfig /usr/local/lib
cd /
wget http://pecl.php.net/get/imagick-3.4.3.tgz
tar -zxf imagick-3.4.3.tgz
cd /imagick-3.4.3
/usr/local/php56/bin/phpize (jei naudojama PHP 7.0 komanda bus analogiškai /usr/local/php70/bin/phpize )
./configure --with-php-config=/usr/local/php56/bin/php-config
make
make install
php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/php56/lib
Loaded Configuration File => /usr/local/php56/lib/php.ini
Configuration File (php.ini) Path => /usr/local/php70/lib
Loaded Configuration File => /usr/local/php70/lib/php.ini
vi /usr/local/php56/lib/php.ini
extension=imagick.so
service httpd restart
php -i | grep Imagick
imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
Imagick compiled with ImageMagick version => ImageMagick 7.0.8-14 Q16 x86_64 2018-11-05 https://imagemagick.org
Imagick using ImageMagick library version => ImageMagick 7.0.8-14 Q16 x86_64 2018-11-05 https://imagemagick.org