Re: Connecting PHP-based Application to Postgres-9.0.3

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Date: 2011-04-07 16:20:36
Message-ID: 201104070920.37258@hal.medialogik.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On April 7, 2011, Rich Shepard <rshepard(at)appl-ecosys(dot)com> wrote:
> /var/log/httpd/error_log shows:
>
> [Tue Apr 05 16:45:39 2011] [error] [client 127.0.0.1] PHP Fatal error:
> Attempt to connect to database cms on rshepard(at)localhost failed in
> /var/www/htdocs/cmsms/lib/adodb.functions.php on line 85

Can you connect to the database with psql using the same credentials? PHP
will use the same underlying postgresql library to connect.

--
The era of procrastination, of half-measures, of soothing and baffling
expedients, of delays, is coming to a close. In its place we are entering a
period of consequences.

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Rich Shepard 2011-04-07 16:35:18 Re: Connecting PHP-based Application to Postgres-9.0.3
Previous Message Rich Shepard 2011-04-07 16:05:45 Connecting PHP-based Application to Postgres-9.0.3