Re: PHP and PostgreSQL connection

From: "Javier Carlos" <nediam(at)nediam(dot)com(dot)mx>
To: Frank Bax <fbax(at)sympatico(dot)ca>, pgsql-php(at)postgresql(dot)org
Subject: Re: PHP and PostgreSQL connection
Date: 2006-01-11 13:10:38
Message-ID: 20060111130651.M12997@nediam.com.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Rafael Mora 2006-01-11 13:17:23 Re: PHP and PostgreSQL connection
Previous Message Rafael Mora 2006-01-11 13:01:05 Re: PHP and PostgreSQL connection