pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim GUNDUZ <devrim@gunduz.org>
To: alagu raj <alaguraj_v@yahoo.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Call to undefined function: pg_connect().
Date: Tue, 12 Oct 2004 09:28:33 +0300 (EEST)
Message-ID: <Pine.LNX.4.61.0410120927500.29038@emo.org.tr> (raw)
In-Reply-To: <20041012061228.65681.qmail@web60705.mail.yahoo.com>
References: <20041012061228.65681.qmail@web60705.mail.yahoo.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Mon, 11 Oct 2004, alagu raj wrote:

> i was running postgresql-7.4.2 and php-4.3.7 and
> apache-2.0.49 on RH-7.3. but the php script is unable
> to connect tp pgsql.
>
> <? php
> $connect=pg_connect("host=localhost port=5432
> dbname=DATABASENAME");
> ?>
>
> this shows error as: Fatal error: Call to undefined
> function: pg_connect().

Install php-pgsql rpm and restart Apache.

Regards,

- --
Devrim GUNDUZ 
devrim~gunduz.org				devrim.gunduz~linux.org.tr
  			http://www.tdmsoft.com
  			http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBa3mTtl86P3SPfQ4RAqRPAKDAl4s1kSe/707Pp9ybToMYOC6UDgCeLpra
lHI+AH3ITSQleYX4Y3VtIk0=
=bvue
-----END PGP SIGNATURE-----



view thread (2+ messages)

Message-ID: <Pine.LNX.4.61.0410120927500.29038@emo.org.tr>
Permalink:  ../Pine.LNX.4.61.0410120927500.29038@emo.org.tr/
Also on:    postgresql.org/message-id/Pine.LNX.4.61.0410120927500.29038@emo.org.tr

 · 

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@gunduz.org, alaguraj_v@yahoo.com
  Subject: Re: Call to undefined function: pg_connect().
  In-Reply-To: <Pine.LNX.4.61.0410120927500.29038@emo.org.tr>
  References: <20041012061228.65681.qmail@web60705.mail.yahoo.com> <Pine.LNX.4.61.0410120927500.29038@emo.org.tr>

* 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