Re: Problems with PHP calling PGP
| From: | Richard Lynch | Date: | Sat, 25 Aug 2001 01:05:05 +0000 |
| Subject: | Re: Problems with PHP calling PGP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64379@lists.php.net to get a copy of this message | ||
> Note: I am running my PHP script through a program called php-cgiwrap
which
> makes the PHP script execute as me on the server rather than as "nobody".
I
> can't let the script execute as "nobody" because "nobody" doesn't
> have
> permission to run PGP, but I do.
You may want to look at suExec http://apache.org
Try the popen one without the pclose. If that works, upgrade PHP.
Also -- see if you can su to nobody, and run that php-cgiwrap thingie with
this script without Apache being involved.
And, of course, you *ARE* looking at your Apache error_log, right?...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm