From owner-freebsd-questions Wed Jul 24 8:27: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 E813A37B400 for ; Wed, 24 Jul 2002 08:27:24 -0700 (PDT) Received: from slate.dublin.wbtsystems.com (slate.dublin.wbtsystems.com [193.120.231.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2F6143E6A for ; Wed, 24 Jul 2002 08:27:23 -0700 (PDT) (envelope-from barry.byrne@wbtsystems.com) Received: from spiral (spiral.dublin.wbtsystems.com [193.120.231.190]) (authenticated bits=0) by slate.dublin.wbtsystems.com (8.12.5/8.12.5) with ESMTP id g6OFRKjB008212; Wed, 24 Jul 2002 16:27:20 +0100 (IST) From: "Barry Byrne" To: "MET" , Subject: RE: PHP and Apache Date: Wed, 24 Jul 2002 16:27:19 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <000601c23326$11a49dd0$6801a8c0@SURVIVAL> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) 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 Matthew: The difference between 2 & 3 is that in 2, the module is compiled as a module separate from the apache server, and is loaded dynamically at startup of the httpd process if specified in the config file. With 3, the module is compiled directly into the httpd binary. There may be a slight speed advantage (mostly at startup) of compiling the module into httpd, but IMHO, the dynamic module is the way to go. It's certainly a lot easier whenever it comes to upgrading either the module or apache, especially as you start using additional modules. Upgrading apache when you have a whole bunch of extra modules to be compiled in is a pain. If all your modules are dynamically loaded, it's simple. 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 MET Sent: 24 July 2002 16:23 To: freebsd-questions@FreeBSD.ORG Subject: PHP and Apache First off thanks to all those who helped me out, I've finally gotten everything up and running. In doing so however I've come across 3 different options for making PHP work w/ apache. 1) PHP as a CGI through Apache 2) PHP as a shared Apache Module ( --with-apxs=[FILE] ) 3) PHP as an Apache Module ( --with-apache=[FILE] ) Basically, I'm wondering what's the big difference between the second two, and which is better. /************************************************************** Matthew Metnetsky met@uberstats.com **************************************************************/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message