Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1

From: Stuart Barbee <sfbarbee(at)yahoo(dot)com>
To: pgsql-php(at)postgresql(dot)org
Cc: Horacio Degiorgi <horaciod(at)gmail(dot)com>
Subject: Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
Date: 2006-03-05 18:50:21
Message-ID: 20060305185021.21976.qmail@web33114.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Horacio,

I was thinking it could be something like that but
have not found a parameter that seems to affect that
yet. The SuSE team compiles the extenstions
separately and puts an include statement into the
php.ini to insert an *.ini file for each extension.
Supposedly you can comment the php-pgsql.ini file to
exclude the extension. The extension is not
commented, so I am not sure what could be wrong.
Maybe something is broken here. Do you know anyone
using this combination of packages (Apache 2.2 w/ APR
1.0, PHP 5.1.2 and PostGreSQL 8.1) and have it working
ok?

Stuart

--- Horacio Degiorgi <horaciod(at)gmail(dot)com> wrote:

> check your php.ini, there must to be uncommented the
> extension for postgresql
> after correct that you need to reload apache to
> apply the changes.
>
>
>
> On 3/4/06, Stuart <sfbarbee(at)yahoo(dot)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()
> >
> > Can anyone help with this?
> >
> > Thanks,
> >
> > Stuart
> >
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 6: explain analyze is your friend
> >
>
>
>
> --
> Horacio Degiorgi
> http://blog.codigophp.com
> Mendoza - Argentina
>

Browse pgsql-php by date

  From Date Subject
Next Message Stuart 2006-03-07 19:56:12 Re: SOLVED Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
Previous Message Stuart Barbee 2006-03-05 18:41:22 Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1