Re: can't connect to a postgreSQL database from PHP

From: Benj <bastabob(at)flash(dot)net(dot)ph>
To: Lista PostgreSQL <pgsql-php(at)postgresql(dot)org>
Subject: Re: can't connect to a postgreSQL database from PHP
Date: 2002-08-11 15:06:53
Message-ID: 20020811150653.GA2344@imagineasia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Carlos wrote:

> I get the following error in the web navigator:
> "Fatal Error: Calling to undefined function pg_connect() ...)"

It seems that PHP can't find your pgsql dynamic extension.

Have you edited php.ini to have the correct lines:

extension_dir = /path/to/php/extensions

extension=pgsql.so

--
Benjamin Oris Jr. <bastabob(at)flash(dot)net(dot)ph>
ImagineAsia Animation Studio

In response to

Browse pgsql-php by date

  From Date Subject
Next Message scott.marlowe 2002-08-12 15:40:22 Re: can't connect to a postgreSQL database from PHP
Previous Message Carlos 2002-08-11 13:22:07 can't connect to a postgreSQL database from PHP