PHP EXECUTION STOPPED
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: PHP EXECUTION STOPPED
I don't understand the purpose of this command -- it seems like it should do nothing as your are compositing a null: image at no offests (-geometry +0+0).exec("/usr/local/ImageMagick/bin/convert uploads/filename null: filename -geometry +0+0 -layers Composite filename ")
Can you explain what you are trying to do?
Are you sure that usr/local/ImageMagick/bin/convert is the proper path to IM
does this give you a reply?
exec("usr/local/ImageMagick/bin/convert -version")
if not try
system("which convert")
or
system("type convert")
to get the full path to convert
With regard to email replies, go to Control Panel (see link in upper left corner of window), Board Preferences, Edit Posting Defaults and check the radio button for "Notify me upon replies by default". OR just check the same checkbox (Options) at the bottom of your posting.
Last edited by fmw42 on 2010-08-09T09:16:25-07:00, edited 1 time in total.
Re: PHP EXECUTION STOPPED
As fmw42 says you comand looks a little strange; dose Imagemagick work at all on simple comands?
To display any IM errors try:
Out of interest are you actualy using filename or do you have a value in there ?
To display any IM errors try:
Code: Select all
<?php
$array=array();
echo "<pre>";
exec("/usr/local/ImageMagick/bin/convert uploads/filename null: filename -geometry +0+0 -layers Composite filename 2>&1", $array);
echo "<br>".print_r($array)."<br>";
echo "</pre>";
?>