Compile imagick on MacOS (php7.4-8)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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