blu.org  wiki

 « Return to Thread: strange permissions problem?

strange permissions problem?

by jcarlson23 :: Rate this Message:

Reply to Author | View in Thread

Evening,

This might be an easy one, but I'm struggling a bit with a PHP script.  The script simply converts a postscript file to a PNG using ImageMagick's convert...

so:

exec("/usr/bin/convert temp.ps temp.png");

>From my local server this script isn't working, it just silently fails.  However, from command line the script works just fine.  So my conclusion is the www user doesn't have permission to execute convert whereas from the command line the user (jcarl) does...

I can dump out CONVERT help from the PHP script (so the www user can) but I can't create the PNG file via the local server...

Any ideas?  Thanks - and have a good weekend...

Jared


      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Discuss mailing list
Discuss@...
http://lists.blu.org/mailman/listinfo/discuss

 « Return to Thread: strange permissions problem?