Verify ImageMagick installation

Desmond Liang picture Desmond Liang · Nov 17, 2010 · Viewed 119.7k times · Source

My web hosting said ImageMagic has been pre-installed on the server. I did a quick search for "ImageMagick" in the output of phpinfo() and I found nothing. I can't SSH in the server so is there a way in PHP I can verify the installation?

Answer

bcosca picture bcosca · Nov 17, 2010

This is as short and sweet as it can get:

if (!extension_loaded('imagick'))
    echo 'imagick not installed';