From owner-freebsd-questions Tue Nov 5 9:43:27 2002 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 5FD8C37B401 for ; Tue, 5 Nov 2002 09:43:25 -0800 (PST) Received: from casper.sri.com (casper.SRI.COM [128.18.243.12]) by mx1.FreeBSD.org (Postfix) with SMTP id C3E2843E6E for ; Tue, 5 Nov 2002 09:43:24 -0800 (PST) (envelope-from hogsett@csl.sri.com) Received: (qmail 27115 invoked from network); 5 Nov 2002 17:47:14 -0000 Received: from localhost (HELO casper.SRI.COM) (127.0.0.1) by casper.sri.com with SMTP; 5 Nov 2002 17:47:14 -0000 Received: from quarter.csl.sri.com ([130.107.1.30]) by casper.SRI.COM (NAVGW 2.5.2.17) with SMTP id M2002110509471309728 ; Tue, 05 Nov 2002 09:47:13 -0800 Received: from axp.csl.sri.com (axp.csl.sri.com [130.107.2.30]) by quarter.csl.sri.com (8.12.4/8.12.4) with ESMTP id gA5HhInr031502; Tue, 5 Nov 2002 09:43:18 -0800 Received: from axp.csl.sri.com (localhost [127.0.0.1]) by axp.csl.sri.com (8.12.6/8.12.3) with ESMTP id gA5HhD1J035955; Tue, 5 Nov 2002 09:43:16 -0800 (PST) (envelope-from hogsett@axp.csl.sri.com) Message-Id: <200211051743.gA5HhD1J035955@axp.csl.sri.com> To: "DaleCo Help Desk" Cc: "Barry Byrne" , "Roger Williams" , freebsd-questions@FreeBSD.ORG Subject: Re: cheat sheet? apache, mod_ssl, mod_php, mysql In-Reply-To: Message from "DaleCo Help Desk" of "Tue, 05 Nov 2002 11:18:03 CST." <008301c284ef$4d5ce920$fa00a8c0@DaleCoportable> Mime-Version: 1.0 (generated by tm-edit 8.8 (Time Passed Me By)) Content-Type: text/plain; charset=US-ASCII Date: Tue, 05 Nov 2002 09:43:13 -0800 From: Mike Hogsett Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry to jump into the middle of this thread, but I have recently installed Apache 1.3x, mod_php4, and mysql on a 4.7 box. I simply installed apache from the ports, mod_php from the ports and mysql from the ports. The mod_php port asks what support you want built in before building, an option there was mysql support. It all just worked. I did have to tweak my httpd.conf file a bit but what I had to edit/enter was given to me by the mod_php4 build output. - Mike > /usr/ports/databases/mysqlserver323 doesn't seem to > build any shared objects...... :-( > > Could I get the same results by preloading > the daemon (program) file? > > KDK > > From: "Barry Byrne" > To: "DaleCo Help Desk" ; "Roger Williams" > ; > Sent: Tuesday, November 05, 2002 10:39 AM > Subject: RE: cheat sheet? apache, mod_ssl, mod_php, mysql > > > > You could try adding something like this in your apache startup > file: > > > > LD_PRELOAD="/usr/local/mysql/lib/mysql/libmysqlclient.so"; > > export LD_PRELOAD > > > > Modify for your mysql lib location and add these two lines before > the call > > to start httpd. > > > > Cheers, > > > > Barry > > > > -- > > Barry Byrne, IT Manager, > > WBT Systems, Block 2, Harcourt Centre > > Harcourt Street, Dublin 2, Ireland > > > > > -----Original Message----- > > > From: owner-freebsd-questions@FreeBSD.ORG > > > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of DaleCo > Help > > > Desk > > > > > Good list, but where's MySQL? > > > > > > My current point of failure is that apache > > > can't load mod_php4 because it hasn't > > > been built with MySQL symbols/support.... > > > > > > Using the supplied docs got me this far, > > > but I've been stumped with this one.... > > > > > > KDK > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message