gpg and PHP (return value 2)

zvrba at zvrba at
Wed Nov 9 15:29:38 CET 2005

On Wed, Nov 09, 2005 at 12:08:16PM -0000, Pete Croft wrote:
> I suspect it's a permissions problem:  the source file for encryption
> exists, the key is correct, and the exact same command issued via CLI
> produces the output file as desired, so in the absence of other evidence
> I'm guessing that the user PHP's running as can't get to gpg, or doesn't
> have permission to execute it?
Or doesn't have permissions to read/write the source/destination file. Does it
have gpg in PATH? Do you specify a full path to the binary in your script?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20051109/51157411/attachment.pgp

More information about the Gnupg-users mailing list