John Doe Smith
John Doe Smith

Reputation: 1643

Can't get ImageMagick run with php

I'm very frustrated with getting ImageMagick to run.

The Situation: ImageMagick is installed on the Server. (My hosting provider did this. as a standard) I asked my provider and they only said: the path to ImageMagick is /usr/bin/php_safemode and that i should "deposit" the path in my application. Whatever that means.

nothing works:

exec('convert SOME CODE') ;

doesn't work.

$im = new Imagick($image);

(these are no complete scripts, because not the scripts are the problem.. ) i have no idea how to test it. i mean ..no idea how to get it run. how to include this path in my script..

note: i have no access to php.ini or something like this.. my hosting provider told me that i can do it just include this path.. but how could this work?

Any ideas? tips?

i'm searching for an answer the whole day

Upvotes: 0

Views: 342

Answers (1)

AvL
AvL

Reputation: 3093

Try this:

exec('/usr/bin/php_safemode/convert SOME CODE');

Upvotes: 1

Related Questions