Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 7E4EB632B60 for ; Wed, 27 Jan 2010 20:37:09 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 05809-03 for ; Thu, 28 Jan 2010 00:36:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-px0-f194.google.com (mail-px0-f194.google.com [209.85.216.194]) by mail.postgresql.org (Postfix) with ESMTP id E4B6E632806 for ; Wed, 27 Jan 2010 20:36:58 -0400 (AST) Received: by pxi32 with SMTP id 32so103489pxi.15 for ; Wed, 27 Jan 2010 16:36:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=8jclaks8r3y9UcAooNE+2tD1SHHkFm/5rPfsPVWwp5k=; b=RWtTU3sPGlekEaxvlR+89D0EN8PMM+33yqQtvDi3G03IDNxFcWRXhT50sVhdWIKGlT kfXSvBfh+BzrW68degwT6CV5c4UhKhPVxVSwDj0D5qJ7QYXFB1eliOPUyMrqdznWUZsp tgW1ejkWKx1opjHY6AltETQe0080ADEK/+kKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=fFuSR7VIZHeSOI6o/XDmxeYIbRPEj+RmOe43fll89sSFnQlA+sQ7+EgTtyIo1Ex1I5 u1fyWMHDYnlUktHnzJYO6jBfWZbt2S/50vWtXAS3syXPPKj8X+qsPkV3vvcweqCD/poz 9ltrNKFef60epkuLcg8F1evMJQ0uCMSN/w33U= Received: by 10.140.180.20 with SMTP id c20mr7128461rvf.133.1264639016832; Wed, 27 Jan 2010 16:36:56 -0800 (PST) Received: from ?192.168.2.65? (office.squiz.net [203.206.128.174]) by mx.google.com with ESMTPS id 20sm324508pzk.1.2010.01.27.16.36.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 27 Jan 2010 16:36:56 -0800 (PST) Message-ID: <4B60DC23.9020404@gmail.com> Date: Thu, 28 Jan 2010 11:36:51 +1100 From: Chris User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Gustavo Amarilla Santacruz CC: pgsql-php@postgresql.org Subject: Re: Undefined function pg_connect() References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201001/4 X-Sequence-Number: 4102 Gustavo Amarilla Santacruz wrote: > Hello, all. > > I had installed php + postgresql on Fedora12. When the php script call > to "pg_connect()", the following message is displayed: > > Fatal error: Call to undefined function pg_connect() in /var/www/html/ > ..... Call Stack: 0.0325 487160 1. {main}() .... > > > What i can do? You need the php-pgsql package if you installed via rpm. Once you have that installed, restart apache and see how you go. -- Postgresql & php tutorials http://www.designmagick.com/