Re: PEAR::DB strange problem

From: Date: Sat, 13 Sep 2003 15:54:58 +0000
Subject: Re: PEAR::DB strange problem
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21471@lists.php.net to get a copy of this message
On Saturday, September 13, 2003 17:06, Voyteck wrote: > Hello, > I came to very strange problem, which I cannot find the source of for > quite a long time. > I use PEAR::DB (newest) to connect and perform operations on pgsql > database. Everything works fine until I try to query (using query() or > getOne() method) large table (about 8000 records). Then PHP (v 433) on > Windows crashes (Apache webserver). > Quite interesting is that I do not want to fetch any large data - the > query I perform is "select count(*) from table" - so it replies in fact > with only one row. When the table is almost empty (contains less > records) - the query works without problems. > I tries to run the same query using PHP built-in functions (pg_query()) > - and it runned without problems. > Can anybody help me or maybe this is some kind of bug ? > I can provide full info about this situation. > Thanks in advance for any help. becouse this case is very important for > me - I would be very gratefull for sending the replies CC to my private > email - voyteck@caffe.com.pl. I really count on you people A PHP crash is something that we can not fix. I'd recommed you to try to find the line which causes the crash, try to isolate the problem in few lines and open a bug at bugs.php.net category "PHP Crash". I'm curious about this problem (which I can't reproduce under Linux), so feel free to write here if you find the solution. -- Tomas V.V.Cox mailto:cox@idecnet.com

« previous php.pear.dev (#21471) next »