Imagick PHP error: Safe mode restricts user to read image:

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
Geret

Imagick PHP error: Safe mode restricts user to read image:

Post by Geret »

Hi,
Uncaught exception 'ImagickException' with message 'Safe mode restricts user to read image:
Is possible work with IMagick, when safe_mode is "on"? My boss does not want turn-off safe_mode, because he afraid hackong our web projects... Convice him is not in my might...

Please help me with read image to IMagick on safe_mode.

THNX

We have
PHP Version 5.2.6-3ubuntu4.1
imagick module version 2.1.1-rc1
ImageMagick version ImageMagick 6.4.5 2009-06-04 Q16 OpenMP
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Re: Imagick PHP error: Safe mode restricts user to read imag

Post by mkoppanen »

Make sure that you comply with the safe mode restrictions: http://php.net/manual/en/features.safe-mode.php
Mikko Koppanen
My blog: http://valokuva.org
Post Reply