I just migrated my FC4 server to CentOS 5 and had some problems with DB connections from PHP to a PG server (remote server). The thing is that I couldn't get an error, until I disabled SELinux. At that time, the PG connections started working.
Are there any instructions on how to work with SELinux enabled and multiple applications connecting one with another?