1. Installed imagemagick 6.2.5 on centos 5 no
problem.
2. Ran: 'which convert' at the command line -
returned /usr/local/bin
3. Ran a few image tests from the CLI which work
fine - resize etc
4. Used php exec() function with the same commands
and absolutely nothing happens!
exec("convert -geometry 200x100! -quality 100
uploads/my.jpg uploads/my.jpg");
 
If a test the return there is nothing so no error
so $return = exec(blah....
print $return // nothing
 
PHP is not in safe mode - have a dedicated server
so exec() is allowed - tested this
Tried restarting apache - did not work
Ran ldconfig to update server libraries - did not
work
 
Saw this post
http://www.codeaholics.com/codeBlog.php that says
to restart the server but it looks like a windows
user!
 
Does imagemagick have to be configured ./configure
with any params for apache/php etc?
I have other webservers that work fine using
exec("convert -- blah blah) the only difference
being that imagemagick (convert) was pre-installed
 
I've seen a few web posts from users having same
issues with no successful solution
This is driving me nuts!
 
Please help

 

Regards,

 

Jonno

 
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to