pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Bax <fbax@sympatico.ca>
To: sharmad@softhome.net
To: pgsql-php@postgresql.org
Subject: Re: Httpd2.0 / PHP / PostgreSQL
Date: Tue, 10 Dec 2002 01:43:07 -0500
Message-ID: <5.1.1.6.0.20021210014004.009fa540@pop6.sympatico.ca> (raw)
In-Reply-To: <courier.3DF57939.00004463@softhome.net>

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 <? phpinfo(); ?> 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.




view thread (4+ messages)  latest in thread

Message-ID: <5.1.1.6.0.20021210014004.009fa540@pop6.sympatico.ca>
Permalink:  ../5.1.1.6.0.20021210014004.009fa540@pop6.sympatico.ca/
Also on:    postgresql.org/message-id/5.1.1.6.0.20021210014004.009fa540@pop6.sympatico.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: fbax@sympatico.ca, sharmad@softhome.net
  Subject: Re: Httpd2.0 / PHP / PostgreSQL
  In-Reply-To: <5.1.1.6.0.20021210014004.009fa540@pop6.sympatico.ca>
  References: <courier.3DF57939.00004463@softhome.net> <5.1.1.6.0.20021210014004.009fa540@pop6.sympatico.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox