Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
The problem is, I want to start to use Imagick class, and try to run scripts like this (one example):
exec("/usr/local/bin/convert $cmd $imfinal");
When I execute the above code, I receive this error:Fatal error: Class 'imagick' not found in /home/saidia/public_html/c
$im = new imagick( $input ); $distort = array( 180.0, 0.0 ); $im->setImageVirtualPixelMethod( Imagick::VIRTUALPIXELMETHOD_TRANSPARENT ); $im->setImageMatte( TRUE ); $im->distortImage( Imagick::DISTORTION_ARC, $distort, TRUE ); $im->writeImage( $imfinal ); $im->destroy();
So my question is, what I have to do for start to work with the imagick class? or what I have to say in my VPN support for the install that for me?
$im = new imagick( $input );