Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: PHP cann't access to postgres databse


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: donghe(at)caltech(dot)edu
  • Cc: "Andy Shellam" <andy-lists(at)networkmail(dot)eu>, pgsql-admin(at)postgresql(dot)org
  • Subject: Re: PHP cann't access to postgres databse
  • Date: Fri, 26 Jun 2009 18:17:07 -0400
  • Message-id: <10226.1246054627@sss.pgh.pa.us> <text/plain>

donghe(at)caltech(dot)edu writes:
>>> You do have a point on the "Permission denied", though.  If the
>>> problem was where I was suggesting, it would probably say "Connection
>>> refused".  Perhaps some OS security restriction is in play here.

>> SELinux?  I've never used it personally but have heard it can throw some
>> errors you don't normally expect.

> i use fedora 11

Then it's SELinux.  If it works after "setenforce permissive", it's
definitely selinux.  File a bug against selinux-policy.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group