RE: [PHP-DEV] Location in php's source for ini-values
| From: | Jani Taskinen | Date: | Mon, 04 Feb 2008 15:33:10 +0000 |
| Subject: | RE: [PHP-DEV] Location in php's source for ini-values | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35174@lists.php.net to get a copy of this message | ||
On Mon, 2008-02-04 at 14:23 +0000, ehl lhe wrote:
> >Perhaps you should look into PHP 5.3 which has a lot better support for
> >per-host/per-dir php.ini values. In 5.3 you can specify stuff in the
> >global php.ini file with special sections which only affect the certain
> >host / directory and those can not be overwritten anywhere.
> >Also there's the user.ini (== pretty much same as .htaccess in apache).
> >
> >Unfortunately this all is meant for CGI/FastCGI currently. And who uses
> >apache anyway anymore when we have lighttpd + fastcgi around? :D
> >
> >--Jani
>
> As far as I figured out, PHP 5.3 is supposed to be released in Q1 2008,
> this means within the next 2 months, true? I'm not sure if I shall wait until
> then, since the release might be delayed, but however: are you sure that
> this new release can solve that problem? If so, then I'll wait, if not, then
> I'll have to resume this modification...
Like I said, the solution is (currently) only for CGI/FastCGI sapi.
And you can quite easily test if it's the thing you need by getting the
snapshot here: http://snaps.php.net/
--
Patches/Donations: http://pecl.php.net/~jani/