Re: Unable to run GPG from PHP gpg: WARNING: unsafe ownership on homedir

2012-12-20 Thread Roberto Martinez
Hi Roberto! On 12/20/2012 02:32 PM, Roberto wrote: I made and script in PHP to encrypt information with GPG. It works fine until I move it from a Plesk server to a cPanel server. I adjusted paths, permissions and users but I get this errors: is your web server user running as the same user

Unable to run GPG from PHP gpg: WARNING: unsafe ownership on homedir

2012-12-20 Thread Roberto
;UID"; $command = "echo ". $message ." | ". $gnupg ." -a -t --batch --no-secmem-warning --homedir ". $gnupghome ." -e -r ". $uid ." --compress-algo 1 --cipher-algo cast5"; $messageCodified = shell_exec($command); I am missing something obv