Frage

I installed the software imagemagick on my server "Windows Server 2008".

In cmd it works fine, all commands work.

But when I try to do it in PHP:

$command = "convert fdfdf.jpeg dfdf2.jpeg";
exec($command, $output);

It does not work. I get a blank page and nothing happens,

I have given all the permissions I need to the following:

cmd.exe
whomi.exe
c:\ImageMagick. execute & read to iis_iusrs and everyone.

Safe Mode are off.

What else can I do to make it work?

War es hilfreich?

Lösung

Try this

$command = "convert fdfdf.jpeg dfdf2.jpeg 2>&1";
exec($command, $output);
var_dump($output);
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top