Hello Everybody,

we have a problem to implement a PGP-function into
a PHP-Script. PHP 4.0.6 as CGI, Apache 1.3.11, FeeBSD 4.2

PGP from the command line works:
% pgps -ato test.sig test.txt -z passphrase

Calling a little PHP Script
$kommando  = "/usr/local/bin/pgps -ato test.sig test.txt -z passphrase";

to do so, also everything works fine:

  % virtual /usr/local/bin/php /etc/test-pgp.php
  Creating output file test.sig
  X-Powered-By: PHP/4.0.6
  Content-type: text/html

But when we use this very same PHP-code within a script, and call this
script through the web, it's not working anymore and the error_log

  Cannot open configuration file pgp.cfg
  Cannot open secret keyring "secring.skr"
  Cannot open public keyring "pubring.pkr"

Why is that and can this problem be solved ?

Thank you very much.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to