Re: Connecting PHP-based Application to Postgres-9.0.3

Brian Fehrle <[email protected]> Thu, 07 Apr 2011 13:06:29 -0600
Newsgroups gmane.comp.db.postgresql.php
Message-ID <[email protected]>
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
>


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