Re: Connecting PHP-based Application to Postgres-9.0.3

Rich Shepard <[email protected]> Thu, 7 Apr 2011 11:59:57 -0700 (PDT)
Newsgroups gmane.comp.db.postgresql.php
Message-ID <[email protected]>
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

-- 
Sent via pgsql-php mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php