Damir Buskulic on wrote...
| Hi everybody,
|
| I'm trying to use convert from a php script using the php exec()
| function. When I give a simple convert command like
|
| ~/util/bin/convert -size 195x152 xc: -fx 'i/w' carte_p.png
|
| it works. But when replacing the 'i/w' by something much more
| complicated, the command fails with a "9" return code. The strange
| thing is that when issuing the exact same command under a bash shell
| on the server (through an ssh connection), everything works as expected.
| The php server is configured with a 50000 max execution time and the
| privileges of the files involved are -rwxr-xr-x, which should be ok...
|
| Perhaps someone has an idea...
It is probably a quoting problem from PHP. Can you give a snipet of the
PHP code you used to make the call, and an exampe of the 'change' you
make.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
To think is human, to compute, divine.
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users