Postgress – Fedora 17 Login Problem

posted in: Linux, Software 0

Upgraded from Fedora 15 to Fedora 17 and installed Postgres db as I needed the functionality of a server-side query. After the upgrade, I was unable to log on to phpPgAdmin and in the httpd error log I was seeing the message.

PHP Strict Standards:  Only variables should be passed
 by reference in /usr/share/phpPgAdmin/redirect.php on line 14

Finally, I thought about SELinux and in the boolean options section there is an option

apache - Allow HTTPD scripts and modules to access databases

I enabled this option and the problem is solved.

For those who use the command line

setsebool -P httpd_can_network_connect_db 1

 

Comments are closed.