I am still having problems trying to get the system or exec (gpg --help works, but encryption or gpg --list-keys fails) commands to work from PHP. I get a RETURN VALUE of 2. Please can anybody tell me what this means so that I can tell the system administrator whether the permissions etc. are correct. Thanks Gary Brooks