Using GPG in Safe Mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

My ISP have php set for safe mode. And now I'm trying to run gpg from php.

Basically I'm trying to run this from exec():
echo "testar testar" | /usr/local/bin/gpg --homedir /home/myuser/ .gnupg -a --always-trust --batch --no-secmem-warning -e -u "Test Test <test@test .com>" -r "Test Test <test@xxxxxxxx>"

When I run it from cli myself it works fine, but it fails when I run it from php. Are there anyway I can get this to work?

Sorry if this is OT or an obvious question.

/Regards Emil

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux