Re: Connecting PHP-based Application to Postgres-9.0.3 - Mailing list pgsql-php

From Rich Shepard
Subject Re: Connecting PHP-based Application to Postgres-9.0.3
Date
Msg-id alpine.LNX.2.00.1104071305570.397@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Connecting PHP-based Application to Postgres-9.0.3  (Brian Fehrle <brianf@consistentstate.com>)
Responses Re: Connecting PHP-based Application to Postgres-9.0.3  (Rich Shepard <rshepard@appl-ecosys.com>)
List 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@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

pgsql-php by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Next
From: Rich Shepard
Date:
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3