[PHP] php and gnupg problems.

2002-08-28 Thread Jon Lawrence
, If I add #!/usr/bin/php to the top of the script and make it executable, then su to 'nobody' (which appache runs as) then the script runs perfectly from the command line - so I think that the permissions are all OK. Any ideas where I'm going wrong? Regards, Jon Lawrence -- PHP General Mailing List

[PHP] Re: php and gnupg problems.

2002-08-31 Thread Jon Lawrence
Richard, Thanks for the reply. 'top' shows that the script is being run as nobody. the '2' stuff allow the password to be passed as a file descriptor and I think it is this that is breaking. I have setup a nobody directory just for this. I then set the HOME variable to point to this directory.