Permission denied

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
peteinba
Posts: 1
Joined: 2015-06-26T21:19:01-07:00
Authentication code: 6789

Permission denied

Post by peteinba » 2015-06-26T22:30:15-07:00

Hallo!

i run a brand new debian weezy system with php 5.3.
Installed Imagemagick.

The Script:
$magic = new Imagick();
$magic->setResourceLimit(6, 1);
$magic->readImageBlob(file_get_contents('globe.png'));
$magic->setImageFormat("jpg");
$magic->writeImage('newglobe.jpg');
$magic->clear();
works fine.
Now i installed 5.6.10 with ZTS enabled repo.

Now i get PERMISSION DENIED on $magic->writeImage('newglobe.jpg');

I played around a lot with user and groups put can not find any misstage.

Where i my problem?

Please help

Post Reply