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

Call to undefined function: pg_connect().

From: alagu raj <alaguraj_v(at)yahoo(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Call to undefined function: pg_connect().
Date: 2004-10-12 06:12:28
Message-ID: 20041012061228.65681.qmail@web60705.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-php
hello all,
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().
how can i sort this.
thanks in advance.


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

Responses

pgsql-php by date

Next:From: Devrim GUNDUZDate: 2004-10-12 06:28:33
Subject: Re: Call to undefined function: pg_connect().
Previous:From: Frank FinnerDate: 2004-10-02 09:46:07
Subject: Re: How to create a new Table in prostgresql from a

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group