Tuesday, February 5, 2008

SELinux configuring for php postgresql connection in Linux

Configuring SELinux

The following command will disbale the SELinux. This will allow php to connect with the postgresql database.
Run the following command in the terminal

/usr/sbin/setsebool -P httpd_disable_trans 1

/sbin/service httpd restart

No comments: