fx returns blank from web
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
It is more likely not the user it is run as, but the environment (command line and library paths).
Try
env - PATH="/usr/bin:/bin:/opt/bin" convert ....
It will probably need some LD_LIBRARY_PATH setting before it will work.
Remember a web program will not have configured any reasonable environment such as you would get when you start a interactive shell (and thus reading /etc and home directory initialization files).
When you find you solution post back here even though it will probably not be a IM problem.
Try
env - PATH="/usr/bin:/bin:/opt/bin" convert ....
It will probably need some LD_LIBRARY_PATH setting before it will work.
Remember a web program will not have configured any reasonable environment such as you would get when you start a interactive shell (and thus reading /etc and home directory initialization files).
When you find you solution post back here even though it will probably not be a IM problem.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/