[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.

[PHP] Re: php and gnupg problems.

2002-08-30 Thread Richard Lynch
Hi, Appologies if this comes through twice. I tried to post it via goolg groups but it didn't seem to work. If I run the following script from within apache, then the script fails and returns $error=2 ?php $data=this is a test; $GNUPGHOME=/home/nobody/.gnupg; putenv(GNUPGHOME=$GNUPGHOME);