Tips & Trik
Install PHP Extension “imagick” at Ubuntu
for Webuzo CP, work with Ubuntu 18.04 LTS and 20.04 LTS
Ini hanya catatan Pribadi :
Install “Package Config” dan “Auto Config”
apt-get install pkg-config autoconf automake gdb git libffi-dev zlib1g-dev libssl-dev -y
Download file imagick dan configure filenya :
wget http://pecl.php.net/get/imagick-3.5.1.tgz tar xfz imagick-3.5.1.tgz cd imagick-3.5.1 /usr/local/apps/php74/bin/phpize ./configure --with-php-config=/usr/local/apps/php74/bin/php-config --with-imagick=/usr/local/apps/imagemagick/ make make install
Setelah itu buat/create Link File di folder Extension PHP7.4 :
ln -s /usr/local/apps/php74/lib/extensions/no-debug-non-zts-20190902/imagick.so /usr/local/apps/php74/ext/imagick.so
Sehabis itu edit file extra.ini :
nano /usr/local/apps/php74/etc/php.d/extra.ini
Restart service php74, aktifin PHP Extension imagick.so dan Selesai