Skip site navigation (1) Skip section navigation (2)

Re: PHP and PostgreSQL 9.0, pg_connect fails to connect

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PHP and PostgreSQL 9.0, pg_connect fails to connect
Date: 2011-04-27 15:55:48
Message-ID: alpine.LNX.2.00.1104270852240.19336@salmo.appl-ecosys.com (view raw or flat)
Thread:
Lists: pgsql-general
On Wed, 27 Apr 2011, Thomas Harold wrote:

> Well, interestingly enough it is SELinux getting in the way, but not
> logging anything.  Temporarily disabling SELinux suddenly makes it work.

   This is interesting. I don't run SElinux on my Slackware systems, but a
PHP application (CMS Made Simple) fails to load since I upgraded to
postgres-9.0.x from -8.4. I'm not a PHP coder and I'm having a terrible time
trying to figure out what broke. It is something related to the ADOdb layer
trying to connect PHP to postgres.

   When I try to invoke the application I see a '404 Not Found' error. I'm
trying to trace this with xdebug but any help from this list would be very
much appreciated.

Rich

In response to

pgsql-general by date

Next:From: Phoenix KiulaDate: 2011-04-27 16:15:57
Subject: Index not being used for UPDATE?
Previous:From: Thomas HaroldDate: 2011-04-27 15:55:33
Subject: Re: PHP and PostgreSQL 9.0, pg_connect fails to connect

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group