From owner-freebsd-ports Fri May 5 4:28:27 2000 Delivered-To: freebsd-ports@freebsd.org Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by hub.freebsd.org (Postfix) with ESMTP id B56C337B672 for ; Fri, 5 May 2000 04:28:21 -0700 (PDT) (envelope-from ibex@emmi.physik.TU-Berlin.DE) Received: (from ibex@localhost) by emmi.physik.TU-Berlin.DE (8.9.3/8.9.3) id NAA48360; Fri, 5 May 2000 13:27:49 +0200 (CEST) (envelope-from ibex) Date: Fri, 5 May 2000 13:27:49 +0200 From: Dirk Froemberg To: John Lengeling Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: apache+php-1.3.12+3.0.16 Message-ID: <20000505132748.B46864@physik.TU-Berlin.DE> References: <39105E07.740DDB5D@microware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <39105E07.740DDB5D@microware.com>; from johnl@microware.com on Wed, May 03, 2000 at 12:12:39PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi John! On Wed, May 03, 2000 at 12:12:39PM -0500, John Lengeling wrote: > I don't know if you are the right one to ask, but there used to be a > apache+php+mysql port a couple of months ago. > > I have the apache+php package installed, I also installed the mysql > packages. It appears that there is some configuration needed to get > php3 to work with mysql since I get: > > Fatal error: Call to unsupported or undefined function mysql_connect() > in > /usr/local/share/apache/htdocs/sourcebk/index.php3 on line 10 > > Can you point me to where to get the info? The apache13-php3 _package_ doesn't have mysql support comiled in (it's not enough to install both packages, you need to enable mysql support for php). You can use the apache13-php3 _port_ (see http://www.freebsd.org/ports/ for details about ports). Before actually building a configuration menu pops up letting you select mysql support. Regards Dirk -- Dirk Froemberg FreeBSD: The Power to Serve! http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message