Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Compile imagick on MacOS (php7.4-8)
// If you have installed PHP 8.0 on your MBP from brew you can simply build the Imagick from source:
git clone https://github.com/Imagick/imagick
cd imagick
phpize && ./configure
make
make install
// Builded extension should land in similarly directory:
// /usr/local/Cellar/php/8.0.0_1/pecl/20200930/
// and finally, you can enable it in your php.ini by adding:
extension="imagick.so"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment