Re: Re: Using GPG in Safe Mode
| From: | Edwin Barrios | Date: | Thu, 19 Jan 2006 23:48:23 +0000 |
| Subject: | Re: Re: Using GPG in Safe Mode | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228898@lists.php.net to get a copy of this message | ||
Hi, emil
Using "safe_mode_exec_dir", it's a solution if you has access to your
php.ini or http.conf, because it's a PHP_INI_SYSTEM var. For these reason
you can't set this var with ini_set() function on a php script.
If your ISP has a very restricted setting, i think that the solutions that
"comex" comments it's a good one, it'sn't my prefered solution by security
issues.
P.S.D
i never have proved if setting PHP_INI_SYSTEM vars it's posible on a
.htacces file.
On 1/18/06, M <lists@gazelasport.sk> wrote:
>
> emil@vanster.nu wrote:
> > Hi Edwin!
> >
> > Thanks for the tips but my ISP hasn't given me root. I'm very sad to
> hear gpg from cli won't work under safe mode. Are there any 100% php
> implementations of GPG I could use? (because I guess that is the only way
> that is left?)
> >
> > /Emil
> >
> >
> >>If you are using gnupg comand line, there is not way on PHP-safe mode.
> >>The only way that i know to wrap around this problem it's install pecl
> extension package
> >
>
> there is a way. if gpg binary is in safe_mode_exec_dir
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>