Re: bug in php4 with postgres?

From: Date: Fri, 06 Apr 2001 16:18:04 +0000
Subject: Re: bug in php4 with postgres?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47514@lists.php.net to get a copy of this message
On Friday 06 April 2001 21:44, Kristopher Yates wrote: > How come sometimes I get this message and sometimes I dont? > > [Fri Apr 6 13:49:15 2001] [error] PHP Warning: 3 is not a valid > PostgreSQL lin > k resource in /usr/local/apache/htdocs/ltt-dev/htdocs/formproc.php3 > on line 134 > > It worked fine until I upgraded to PHP4 and now a bunch of code is > broken - so I'm having to rewrite it. That really sucks. Anybody > else have this problem? I really would like to get in touch with > someone who uses postgres with php but i dont know any one else > that uses this software. Any help is appreciated Yes, I heard about the bug. It seems that PHP, when it closes de connection, it closes connections which he shouldn't close. I heard someone say that using non-persistent connections solved the problem. Te bug has already been reported (some time ago), and it may be fixxed. Test the latest CVS. Saludos... :-) -- El mejor sistema operativo es aquel que te da de comer. Cuida tu dieta. ----------------------------------------------------------------- Martin Marques | mmarques@unl.edu.ar Programador, Administrador | Centro de Telematica Universidad Nacional del Litoral -----------------------------------------------------------------

« previous php.general (#47514) next »