|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-07-28 16:57 UTC] sRp at portico dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 22:00:01 2026 UTC |
I installed php3.0.11 with apache 1.3.6 and postgresql 6.5, 6.5.1, and 6.4.2. When i have code that looks like: <?php include("/home/srp/php/inc/print_array.inc"); $database = pg_Connect ("dbname=wwc user=postgres "); $res = pg_exec ($database, "select * from Groups"); print "*".$res."*"; print_array(pg_fetch_array($res,0)); ?> It will crash when it gets to the "pg_fetch_array" sometimes. It seems to be related to what type of columns are returned from the select query, but it isn't consistant between installations and the two computers i have tried it on. My compile options were something like (on the most minimal install i did): ./configure --enable-track-vars --with-pgsql --without-gd