Permissions Error with php

Jon Roberts
Thu Jan 30 04:20:29 2003

I had gnuPg working from php fine, but recently it has developed an error, 

I was using this to encrypt:
system("/usr/local/bin/gpg --encrypt  -ao $crypted -r $recip $plainTxt");

gpg: fatal: /root/.gnupg: can't create directory: No such file or directory
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/16384

and is not generating any output

Could anyone help me please

Jon Roberts.