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 18:59:57
Message-ID: alpine.LNX.2.00.1104071152370.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:

> These should let you see the connection information from the perspective
> of the database.

Ah, I was looking at the wrong log file. Messages are in
/var/log/httpd/error_log:

[Thu Apr 07 11:13:43 2011] [error] [client 127.0.0.1] File does not exist:
/srv/httpd/htdocs/cms
[Thu Apr 07 11:51:11 2011] [error] [client 127.0.0.1] File does not exist:
/srv/httpd/htdocs/cms

From the access_log:

127.0.0.1 - - [07/Apr/2011:11:13:43 -0700] "GET /cms/index.php HTTP/1.1" 404 211
127.0.0.1 - - [07/Apr/2011:11:51:11 -0700] "GET /cms/index.php HTTP/1.1" 404 211

Yet:

drwxr-xr-x 11 rshepard users 4096 Apr 5 16:45 cmsms/

and:

I do see the Joomla-R-Us page, but neither a green "OK" nor an error
message; just the page with the script

-rwxr-xr-x 1 rshepard users 22077 Apr 7 09:54 postgresql.php

127.0.0.1 - - [07/Apr/2011:11:54:56 -0700] "GET /postgresql.php HTTP/1.1" 200 220

Rich

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Brian Fehrle 2011-04-07 19:06:29 Re: Connecting PHP-based Application to Postgres-9.0.3
Previous Message Brian Fehrle 2011-04-07 18:58:26 Re: Connecting PHP-based Application to Postgres-9.0.3