Thanks I have this in the error log gpg: fatal: can't create directory `//.gnupg': Permission denied secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768 gpg: fatal: can't create directory `//.gnupg': Permission denied secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
----- Original Message ----- From: "Stef Caunter" <[EMAIL PROTECTED]> To: "womble" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Saturday, April 07, 2007 3:53 AM Subject: Re: Using GNUPG with php scripts and webserver > Check error_log for the problem (if you can) - permissions on ~/.gnupg > files will cause things to not work and you must have environment exported > for the nobody user. I reset $ENV{'HOME'} in perl... there must be > something similar in php. If you can view the environment the server > provides in the browser you can see if you have what gpg requires. I > assume the binary is in $PATH for the webserver. Keys must be readable and > implicitly trusted for the webserver user and this user must have > somewhere to write if you are using temporary files. > > Stef > http://caunter.ca/crypto.html > > On Fri, 6 Apr 2007, womble wrote: > >> >> Hi I cant get php scripts from Apache to execute GNUPG comands. >> >> If I run cmds or execute php scripts from the cmd line that works fine. >> > >> >> nobody:x:99:99:Nobody:/home/nobody:/bin/bash >> > > _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
