Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange permissions problem?



 Jared Carlson wrote: 
> 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... 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org