Skip to content

Instantly share code, notes, and snippets.

@gnutix
Created August 19, 2019 12:47
Show Gist options
  • Save gnutix/5bbd544b53ae256d7aa5e46da67303ae to your computer and use it in GitHub Desktop.
Save gnutix/5bbd544b53ae256d7aa5e46da67303ae to your computer and use it in GitHub Desktop.
13115 wget https://www.imagemagick.org/download/ImageMagick.tar.gz
13116 tar xvzf ImageMagick.tar.gz
13117 cd ImageMagick-7.0.8-60/
13118 ./configure
13119 make
13120 sudo make install
13121 sudo ldconfig /usr/local/lib
13122 magick --version
13123 convert --version
[...]
13319 cd ~/Downloads/php-imagick-3.4.4/
13320 wget https://pecl.php.net/get/imagick
13321 tar zxvf imagick
13322 cd imagick-3.4.4/
13324 cd ../../ImageMagick-7.0.8-60/
13325 ./configure
13326 /usr/local/phpize
13327 which phpize
13328 sudo find . -name 'phpize'
13329 cd ../php-imagick-3.4.4/imagick-3.4.4/
13330 phpize
13331 sudo apt-get install php7.3-dev
13332 phpize
13333 cd /usr/local/include/
13334 ls -lah
13335 ln -s ImageMagick-7 ImageMagick
13336 sudo ln -s ImageMagick-7 ImageMagick
13337 ls -lah
13338 cd ~/Downloads/php-imagick-3.4.4/imagick-3.4.4/
13339 ./configure --with-imagick=/usr/local
13340 make
13341 make install
13342 sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment