GPG in PHP

From: Date: Tue, 16 Sep 2008 12:52:50 +0000
Subject: GPG in PHP
Groups: php.general 
Request: Send a blank email to php-general+get-280270@lists.php.net to get a copy of this message
Hi! I have trouble executing gpg via php. GPG returns error code 127. I got like one google hit on that saying it had to do with open_basedir being on, it's off here. And anyway I would like to do this even if open_basedir was active. This is my test code (both return the same error): $result = exec("gpg -h", $output, $errorcode); $result = exec("gpg --list-keys", $output, $errorcode); Any ideas of what can be wrong? I've been asking some GPG folks, but haven't been able to get a good answer. Kind Regards Emil

« previous php.general (#280270) next »