Last active
May 23, 2017 06:34
-
-
Save loburets/6d721fff5471ac7d2161 to your computer and use it in GitHub Desktop.
check imagic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (extension_loaded('imagick')) { | |
echo 'imagick is installed <br>'; | |
} else { | |
echo 'imagick is not installed <br>'; | |
} | |
if(class_exists("Imagick") ) { | |
echo 'class imagick is found <br>'; | |
} else { | |
echo 'class imagick not found <br>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment