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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Problem when connect with pgsql



Hi Gita,

On Wed, 2006-06-14 at 15:56 +0700, Gita Purnamasari wrote:
> I am new on pgsql-php, whe i tried my new php script to connect with
> pgsql occur message : Call to undefined function pg_connect() when i
> try to connect with pgsql, is there some thing to be set ? 

Either you haven't enabled PostgreSQL support in your php.ini, or you
haven't installed pgsql extensions for PHP. The solution depends on your
operating system. For example for Linux variants, install php-pgsql (or
a similar name) package to enable PostgreSQL support for PHP. I'm not
sure how Windows guys do that.

Regards,
-- 
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group