pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stuart Barbee <sfbarbee@yahoo.com>
To: pgsql-php@postgresql.org
Cc: chris smith <dmagick@gmail.com>
Subject: Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
Date: Sun, 5 Mar 2006 10:41:22 -0800 (PST)
Message-ID: <20060305184122.7903.qmail@web33112.mail.mud.yahoo.com> (raw)
In-Reply-To: <3c1395330603042225x54336003rded9dce3d74df80c@mail.gmail.com>

Chris,

Yes, I have the php-pgsql rpm installed along with
many others.  I checked the location of the extensions
and they match where php expects them to be (according
to php.ini and phpinfo()).  Any other suggestions as
to that might be the problem?  I am just wondering if
SuSE team broke something in the new version of Apache
2.2 or version of php.

Thanks, 

Stuart



--- chris smith <dmagick@gmail.com> wrote:

> On 3/5/06, Stuart <sfbarbee@yahoo.com> wrote:
> > Folks,
> >
> >         I recently upgraded to Apache 2.2 w/ PHP
> 5.1.2 to connect to my  PostGreSQL
> > 8.1 databases on a SuSE 10.0 system.   I used the
> rpm's provided by SuSE to
> > install the Apache and PHP packages .  Apache
> works fine and phpinfo() shows
> > all the normal info except the section on
> additional modules is empty.  I am
> > not sure if this is normal.
> >
> > I get the following error and cannot figure out
> why pgsql module is not
> > loading.
> >
> > PHP Fatal error:  Call to undefined function
> pg_connect()
> 
> That means php doesn't know what pg_connect is.
> 
> See if you need to install a php-pgsql rpm, then
> restart apache (it
> should show "postgresql" in the phpinfo page now).
> 
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
> 




view thread (4+ messages)  latest in thread

Message-ID: <20060305184122.7903.qmail@web33112.mail.mud.yahoo.com>
Permalink:  ../20060305184122.7903.qmail@web33112.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20060305184122.7903.qmail@web33112.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: sfbarbee@yahoo.com, dmagick@gmail.com
  Subject: Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
  In-Reply-To: <20060305184122.7903.qmail@web33112.mail.mud.yahoo.com>
  References: <3c1395330603042225x54336003rded9dce3d74df80c@mail.gmail.com> <20060305184122.7903.qmail@web33112.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox