Re: Connecting PHP-based Application to Postgres-9.0.3

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Date: 2011-04-07 20:10:00
Message-ID: alpine.LNX.2.00.1104071305570.397@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On Thu, 7 Apr 2011, Brian Fehrle wrote:

> Is it trying to access /srv/httpd/htdocs/cms/ but your directory is at
> /srv/httpd/htdocs/cmsms/ by chance?

Brian,

I can see where I may have mis-typed the directory. It is
/srv/httpd/htdocs/cmsms/ and now I see in /var/log/httpd/error_log:

[Thu Apr 07 13:05: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 88

The error had been on line 85 before. And the access_log still shows an
internal server error:

127.0.0.1 - - [07/Apr/2011:13:05:39 -0700] "GET /cmsms/index.php HTTP/1.1"
500

It is quite frustrating. And I appreciate your help, and that of everyone
else.

Rich

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Rich Shepard 2011-04-07 20:25:55 Re: Connecting PHP-based Application to Postgres-9.0.3
Previous Message Rich Shepard 2011-04-07 20:00:58 Re: Connecting PHP-based Application to Postgres-9.0.3