| From: | Stuart Barbee <sfbarbee(at)yahoo(dot)com> |
|---|---|
| To: | pgsql-php(at)postgresql(dot)org |
| Cc: | chris smith <dmagick(at)gmail(dot)com> |
| Subject: | Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1 |
| Date: | 2006-03-05 18:41:22 |
| Message-ID: | 20060305184122.7903.qmail@web33112.mail.mud.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-php |
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(at)gmail(dot)com> wrote:
> On 3/5/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()
>
> 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/
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stuart Barbee | 2006-03-05 18:50:21 | Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1 |
| Previous Message | chris smith | 2006-03-05 06:25:24 | Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1 |