Re: DB_pgsql problem

From: Date: Fri, 10 Oct 2003 22:28:15 +0000
Subject: Re: DB_pgsql problem
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22576@lists.php.net to get a copy of this message
Guy McArthur wrote:
I'm trying to get DB_pgsql to work. It breaks down at this point in the code:
        $connect_function = $persistent ? 'pg_pconnect' : 'pg_connect';
        // catch error
        ob_start();
        $conn = $connect_function($connstr);
Neither function seems to exist -- or maybe I'm just misunderstanding, or don't have some required package installed. I have debian packages php4 and php4-pear versions 4.3.2+rc3-6 with postgresql 7.3.4-6.
My bad, postmaster wasn't listening for tcp/ip connections.

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