[CentOS] PHP doesn't connect to PG with SELinux

Martin Marques

martin at bugs.unl.edu.ar
Fri Jul 13 20:09:13 UTC 2007


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?

-- 
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
---------------------------------------------------------
Martín Marqués          |   Programador, DBA
Centro de Telemática	|     Administrador
                Universidad Nacional
                     del Litoral
---------------------------------------------------------



More information about the CentOS mailing list