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

From Brian Fehrle
Subject Re: Connecting PHP-based Application to Postgres-9.0.3
Date
Msg-id 4D9E0B35.3060402@consistentstate.com
Whole thread Raw
In response to Re: Connecting PHP-based Application to Postgres-9.0.3  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Connecting PHP-based Application to Postgres-9.0.3  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-php
Is it trying to access /srv/httpd/htdocs/cms/ but your directory is at
/srv/httpd/htdocs/cmsms/ by chance?



On 04/07/2011 12:59 PM, Rich Shepard wrote:
> 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
>


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