PHP EXECUTION STOPPED

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
agriz
Forum Contributor
Posts: 106
Joined: Sun Nov 23, 2008 9:29 pm

PHP EXECUTION STOPPED

Post by agriz »

Hi,

After executing a imagemagick command php is not sending any output.
But i guess the command is executed successfully. Because i am getting the desired image in the uploading folder.

If i comment that imagemagick command, i am getting the output without the image .

Command is : exec("convert -limit memory 5000MiB -limit map 64MiB -delay 15 -dispose Background ".$img." -loop 0 ".$image);

any idea?
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Re: PHP EXECUTION STOPPED

Post by JakeJ »

Even though you're getting an image, maybe the command is not terminating so it's not passing the processing back to the rest of the script.

Do you have another imagemagick script that is working. Substitute the command you have now for a known good command and if that works, the problem is with your existing command. For that matter, try executing some other command altogether and see what happens like a directory listing or something.
Post Reply