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



Yes, the issue is from SELinux. thank everybody for help

> 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