jadent Posted August 5, 2009 Share Posted August 5, 2009 I have GNUPG installed on windows and running PHP from the command line (eventually will run through apache) and safe mode is off. Using exec() i can run a command such as "gpg --version" and receive a response (both from command & through apache). But if i run the following command through exec() gpg --list-keys --homedir "C:/Program Files/GNU/GnuPG/home" I get nothing. If i run this command on the command line i get a list of keys. When i run "php test.php" form the command line it is running under the system administrator (same when i just run the pgp and sys admin has all the permissions to the files) so i can't figure out why i am getting back nothing. Anyone have any advice? Link to comment https://forums.phpfreaks.com/topic/168977-gnupg-on-windows-issue/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.