Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group