Jump to content

GNUPG on Windows Issue


jadent

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.