From: Javier Carlos <nediam@nediam.com.mx>
To: Frank Bax <fbax@sympatico.ca>
To: pgsql-php@postgresql.org
Subject: Re: PHP and PostgreSQL connection
Date: Wed, 11 Jan 2006 07:10:38 -0600
Message-ID: <20060111130651.M12997@nediam.com.mx> (raw)
In-Reply-To: <5.2.1.1.0.20060111074539.030167b0@pop6.sympatico.ca>
References: <21509df10601110431x2290d256s92e3b0528791ad1d@mail.gmail.co m>
<5.2.1.1.0.20060111074539.030167b0@pop6.sympatico.ca>
What does your phpinfo() says? It sould say that your version of PostgreSQL
installation is Enabled. If so, what is the error message when you try to
connect with pg_connect ?
Regards,
Javier
On Wed, 11 Jan 2006 07:48:35 -0500, Frank Bax wrote
> At 07:31 AM 1/11/06, Rafael Mora wrote:
> > Is there any special config to connect PHP+PostgreSQL+Apache2.0.54?,
> > because I try to do pg_connect() and it seems that PHP doesn´t find the
> > db, so please any help will be appreciated
>
> Presumably you've already installed php and pgsql. You also need to
> install php-pgsql package; then enable the module.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
--
nediam.com.mx
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: nediam@nediam.com.mx, fbax@sympatico.ca
Subject: Re: PHP and PostgreSQL connection
In-Reply-To: <20060111130651.M12997@nediam.com.mx>
References: <5.2.1.1.0.20060111074539.030167b0@pop6.sympatico.ca> <20060111130651.M12997@nediam.com.mx>
* 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