safe mode On and imagick problem

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
fumnimda

safe mode On and imagick problem

Post by fumnimda »

hi all,
i install imagick for php on my server but when i use :

$im = new Imagick();
$im->readImage($file);

i get this error : Fatal error: Uncaught exception 'ImagickException' with message 'Safe mode restricts user to read image.
safe mode is On on my server and it must be so for security reasons.

what can i do for resolving this issue? why safe mode On cause this problem?

thanks alot.
Post Reply