Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B8D73475D6E for ; Tue, 10 Dec 2002 01:44:27 -0500 (EST) Received: from tomts12-srv.bellnexxia.net (tomts12.bellnexxia.net [209.226.175.56]) by postgresql.org (Postfix) with ESMTP id 0DD8F475D0F for ; Tue, 10 Dec 2002 01:44:27 -0500 (EST) Received: from acer.sympatico.ca ([65.93.64.111]) by tomts12-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021210064426.KTIQ11451.tomts12-srv.bellnexxia.net@acer.sympatico.ca>; Tue, 10 Dec 2002 01:44:26 -0500 Message-Id: <5.1.1.6.0.20021210014004.009fa540@pop6.sympatico.ca> X-Sender: b1wudu74@pop6.sympatico.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Tue, 10 Dec 2002 01:43:07 -0500 To: sharmad@softhome.net, pgsql-php@postgresql.org From: Frank Bax Subject: Re: Httpd2.0 / PHP / PostgreSQL In-Reply-To: Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 Content-Transfer-Encoding: 8bit Content-Type: text/plain; x-avg-checked=avg-ok-68AB21A3; charset=us-ascii; format=flowed X-Archive-Number: 200212/16 X-Sequence-Number: 1691 At 12:18 AM 12/10/02, sharmad@softhome.net wrote: >Hi all, > I have installed redhat8.0 on my system. When i made phpinfo.php file > containing and ran the script it just doen't connect to > the pgsql database although all servers are started (httpd and > postgresql) and the php-pgsql rpm too is there. > I can query the database at the command prompt but not from the > brower. Can anyone tell me whats wrong > This problem doesn't exist in redhat 7.1 or so Have a closer look at your phpinfo output ... One of the first items displayed is "Configure Command" - it contains a bunch of things like --with-xx and/or --without-xxx Does it say --with-pgsql or --without-pgsql - if "without", then php was not compiled with support for postgresql.