Subject Re: [firebird-php] Re: Live time of persistent connections
Author Umberto Masotti
Hi Milan,

On 09/08/2010 15:04, Milan Babuskov wrote:
> Umberto wrote:
>> PHP ibase_pconnect() uses pooled permanent connections.
>> Note that it's not PHP, but Apache that keeps alive connections.
>
> Which one can check with the following Apache settings:
>
> KeepAlive
> MaxKeepAliveRequests
> KeepAliveTimout
>

Maybe I'm wrong reading Apache 2.2 on-line manuals because I've not read
technical papers about its internal workings.
AFAIU these are virtual host only core module configuration settings
that apply to HTTP sessions to keep alive client connection.
php_interbase is activated if declared in php.ini, so it's mod_php that
keeps alive Firebird connections (I guess).
Don't understand how this configuration parameters can release FB
permanent connections when not needed for some time. Only guess: they
release mod_php that shut down his pool of connections.
Is this a correct guess?

Ciao.
Mimmo.