Subject Re: [firebird-php] Re: Very fast read only transactions
Author Milan Babuskov
jeff_j_dunlap wrote:
> Now that I'm here, I'm curious to know how what PHP programmers do to
> keep a database open for continuous use?

There's ibase_pconnect that uses a connection pool.

> Anyway, do PHP programmers also keep an instance of FB connected to
> quickly handle requests? If so, I imagine that you do not use the cgi
> model that I mentioned above right? You probably use something
> similar to the mentioned isapi model?

If you use PHP as a web server module (DLL/SO) and keep it loaded all
the time (load at web server startup) then pconnect can be used. PHP
itself does all the magic of maintaining the connection pool.

--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com