How to install GraphicsMagick with GMagick PHP extension
Created on 2014-Mar-10
Updated on 2017-Aug-15
Let's install GraphicsMagick!
cd /usr/local/src wget ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/GraphicsMagick-LATEST.tar.gz tar xvfz GraphicsMagick-LATEST cd GraphicsMagick-* ./configure --enable-shared make make install
Let's test it.
gm version
If you get this error:
gm: error while loading shared libraries: libGraphicsMagick.so.3: cannot open shared object file: No such file or directory
Do this to fix:
echo "/usr/local/lib" >> /etc/ld.so.conf ldconfig
Ok... Let's install GMagick PHP extension