pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim GUNDUZ <devrim@commandprompt.com>
To: Gita Purnamasari <gitapsari@gmail.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Problem when connect with pgsql
Date: Wed, 14 Jun 2006 12:53:12 +0300
Message-ID: <1150278792.2665.3.camel@laptop.gunduz.org> (raw)
In-Reply-To: <448FCF2F.9000905@gmail.com>
References: <448FCF2F.9000905@gmail.com>

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/





view thread (4+ messages)  latest in thread

Message-ID: <1150278792.2665.3.camel@laptop.gunduz.org>
Permalink:  ../1150278792.2665.3.camel@laptop.gunduz.org/
Also on:    postgresql.org/message-id/1150278792.2665.3.camel@laptop.gunduz.org

 · 

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: devrim@commandprompt.com, gitapsari@gmail.com
  Subject: Re: Problem when connect with pgsql
  In-Reply-To: <1150278792.2665.3.camel@laptop.gunduz.org>
  References: <448FCF2F.9000905@gmail.com> <1150278792.2665.3.camel@laptop.gunduz.org>

* 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