From owner-freebsd-questions Wed May 24 6:39:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from draenor.org (draenor.org [196.36.119.129]) by hub.freebsd.org (Postfix) with ESMTP id 5201037BBDD for ; Wed, 24 May 2000 06:39:19 -0700 (PDT) (envelope-from marcs@draenor.org) Received: from marcs by draenor.org with local (Exim 3.14 #1) id 12ubMN-000PVe-00; Wed, 24 May 2000 15:38:07 +0200 Date: Wed, 24 May 2000 15:38:07 +0200 From: Marc Silver To: Jim Freeze Cc: FreeBSD Questions Subject: Re: Does apache package support mysql? Message-ID: <20000524153807.Q92261@draenor.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from jim@freeze.org on Wed, May 24, 2000 at 06:33:28AM -0700 X-Operating-System: FreeBSD 4.0-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey there, You should have installed the apache with PHP support. Standard apache does not have support built in for mySQL. You can either install this with /stand/sysintall or install the port from /usr/ports/www/apache13-php3 or /usr/ports/www/apache13-php4, depending on which version of php you want to use. Cheers, Marc On Wed, May 24, 2000 at 06:33:28AM -0700, Jim Freeze wrote: > I installed apache via /stand/sysinstall. > > Later, I installed mysql from the mysql-...tgz packages found at > ftp.freebsd.org. > > When I try to access a mysql function like mysql_pconnect() I get the > undefined or unsupported function error. I checked the mailings and they > said that mysql must be installed first--so uninstall apache and > re-install. > > I did this with pkg_delete and /stand/sysinstall, but still no mysql > support. > > Now I have had this working in the past, but I don't remember having to > compile apache (or install from ports). > > Where did I go wrong? > (FBSD 3.4R) > > Thanks > > ============================================ > Jim Freeze > jim@freeze.org > www.freeze.org > -------------- > Save on CDs, DVDs and Books till May 31 2000 > $10 Off a purchase of $30 and > $33 Off a purchase of $100. > Visit www.freeze.org > ============================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message