Skip to content

Instantly share code, notes, and snippets.

@bhdouglass
Created December 8, 2013 00:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhdouglass/7851749 to your computer and use it in GitHub Desktop.
Save bhdouglass/7851749 to your computer and use it in GitHub Desktop.
Install graphics magick & it's php extension from source
# Install graphics magick v1.3.18 from source (run as root)
# Install dependencies
apt-get build-dep graphicsmagick -y
# Download source
wget http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.18/GraphicsMagick-1.3.18.tar.bz2
tar -xvjf GraphicsMagick-1.3.18.tar.bz2
cd GraphicsMagick-1.3.18
# Make & install
./configure --enable-shared --prefix=/usr
make
make install
# Install gmagick for php
pecl install gmagick-beta
echo "extension=gmagick.so" > /etc/php5/conf.d/gmagick.ini
@ryanhanwu
Copy link

Very useful, you save my life !

@cenap
Copy link

cenap commented Jul 18, 2014

Thank you... Really useful...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment