X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id ECF6032B4B9 for ; Tue, 12 Oct 2004 07:28:42 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 33262-09 for ; Tue, 12 Oct 2004 06:28:40 +0000 (GMT) Received: from emo.org.tr (emo.org.tr [195.142.105.9]) by svr1.postgresql.org (Postfix) with ESMTP id 2960332B48B for ; Tue, 12 Oct 2004 07:28:40 +0100 (BST) Received: by emo.org.tr (Postfix, from userid 41643) id 109B62FE29; Tue, 12 Oct 2004 09:28:36 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by emo.org.tr (Postfix) with ESMTP id 0EFFA11218F; Tue, 12 Oct 2004 09:28:35 +0300 (EEST) Date: Tue, 12 Oct 2004 09:28:33 +0300 (EEST) From: Devrim GUNDUZ X-X-Sender: devrim2@emo.org.tr To: alagu raj Cc: pgsql-php@postgresql.org Subject: Re: Call to undefined function: pg_connect(). In-Reply-To: <20041012061228.65681.qmail@web60705.mail.yahoo.com> Message-ID: References: <20041012061228.65681.qmail@web60705.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=UPPERCASE_25_50 X-Spam-Level: X-Archive-Number: 200410/6 X-Sequence-Number: 2939 -----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. > > $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-----