Re: Connecting PHP-based Application to Postgres-9.0.3

From: Brian Fehrle <brianf(at)consistentstate(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Date: 2011-04-07 19:06:29
Message-ID: 4D9E0B35.3060402@consistentstate.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Rich Shepard 2011-04-07 20:00:58 Re: Connecting PHP-based Application to Postgres-9.0.3
Previous Message Rich Shepard 2011-04-07 18:59:57 Re: Connecting PHP-based Application to Postgres-9.0.3