From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 16:29:04 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5E9B16A4BF for ; Wed, 10 Sep 2003 16:29:04 -0700 (PDT) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BBEB43FAF for ; Wed, 10 Sep 2003 16:29:04 -0700 (PDT) (envelope-from algould@datawok.com) Received: from 22-15.lctv-b4.cablelynx.com ([24.204.22.15] helo=yoda.datawok.com) by stork.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.33 #1) id 19xEOT-0006Dl-00; Wed, 10 Sep 2003 16:29:01 -0700 From: "Andrew L. Gould" To: Ricardo Javier Aranibar =?iso-8859-1?q?Le=F3n?= , freebsd-questions@FreeBSD.ORG Date: Wed, 10 Sep 2003 18:29:19 -0500 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200309101829.20031.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4bc9d015c471f74f7954db80afb4b2eb41350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Subject: Re: Compile PHP for Postgresql X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2003 23:29:04 -0000 On Wednesday 10 September 2003 06:15 pm, Ricardo Javier Aranibar Le=F3n wro= te: > Hi list, > > I bougth FeeBSD4.8 (april 2003) from FreeBSDMall, I'm newbie with this > operative System, I installed Apache, PostgreSQL and PHP but when I like > connect in my script php with postgresql I have this error: > Fatal error: call to undefined function pg_connect, I run my script with > phpinfo(); and saw that not compile php for postgresql. > I like To know the commands por compile postgresql for php I have the > packets in my cd's. > > REgards, > Ricardo > If you install PHP from the ports (/usr/ports/www/mod_php* or=20 /usr/ports/lang/php*) a screen will appear with various compiling options. = =20 PostgreSQL will be one of those options. If you installed PHP using a package, pkg_delete it and install one of the = php=20 ports. Best of luck, Andrew Gould