I'm trying since one week but it's not working. I've installed imagemagick on Ubuntu 16.04 LTS. I executed following command in terminal and got this:
convert -version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-03-02 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
That means it is installed? But in phpinfo()
it doesn't show the imagick module. I added the extension in right php.ini file but still same result. Is this the issue with Ubuntu?
Further, I tried commands listed here but none of them worked. I got following error:
E: Package 'php5' has no installation candidate
E: Package 'php5-common' has no installation candidate
PS: I want this to work because I'm using Intervention library for image editing and that is not working since imagick is not listed in phpinfo().