Skip to content

Instantly share code, notes, and snippets.

@IsraelOrtuno
IsraelOrtuno / imagick3.6.0-PHP8-forge.sh
Last active December 28, 2021 12:46
Install Imagick 3.6.0 on PHP 7.4 server (Laravel Forge)
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
apt-get install pkg-config libmagickwand-dev -y
cd /tmp
wget https://pecl.php.net/get/imagick-3.6.0.tgz
tar xvzf imagick-3.6.0.tgz