RE: [PHP4BETA] PostgreSQL Persistent Connections?
| From: | Mark Kirkwood | Date: | Tue, 21 Mar 2000 01:12:57 +0000 |
| Subject: | RE: [PHP4BETA] PostgreSQL Persistent Connections? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12456@lists.php.net to get a copy of this message | ||
> On Tue, 14 Mar 2000, Mitch Vincent wrote:
>
> > Is anyone using PostgreSQL with persistent connections? We tried to use them
> > a while ago and ran into a lot of backend problems (crashes and the like) --
> > I'm wondering if the several released os PostgreSQL and PHP have fixed any
> > of the problems..
>
> You should describe the problems you had with a little bit more details
> than 'crashes and the like' if you want any help from this list. I *am*
> willing to help to solve this problem and make the combination of PHP &
> PostgreSQL rock solid. But bug descriptions like yours definitely don't
> help me in my work. I'm not trying to be nasty. I really *do* need more
> information about your problems.
>
> -- Jouni Ahto
>
Some Hopefully useful extra information connected with this :
Several servers in our development group have been using Postgresql with php4 without any problems
like that.
The versions used are
Apache 1.3.9 +Mod_ssl +Php4b3 +Postgresql 6.5.3 on RedHat 6.1
Apache 1.3.11 +Mod_ssl +Php4b4p1 +Postgresql 7.0b1 on Redhat 6.1 and HPUX 11
The configure line for Php4 is
./configure --with-apache=../1.3.x --with-pgsql --with-mcrypt
For Apache is
SSL_BASE=../openssl--0.9.x \
./configure --prefix=<prefix> --enable-module=ssl \
--activate-module=src/modules/php4/libphp4.a
All configurations seem very stable, I am using pg_pconnect.
In all cases the Postgres db is on the same host as Apache,
so all my connections are local.
Cheers
Mark
>