From owner-freebsd-questions Wed Jul 24 8:25:17 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 D526737B400 for ; Wed, 24 Jul 2002 08:25:14 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 62BA343E42 for ; Wed, 24 Jul 2002 08:25:13 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 29756 invoked from network); 24 Jul 2002 15:25:11 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 24 Jul 2002 15:25:11 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id AB2E536A; Wed, 24 Jul 2002 17:24:58 +0200 (CEST) Date: Wed, 24 Jul 2002 17:24:58 +0200 From: Roman Neuhauser To: MET Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PHP and Apache Message-ID: <20020724152458.GF4999@freepuppy.bellavista.cz> Mail-Followup-To: MET , freebsd-questions@FreeBSD.ORG References: <000601c23326$11a49dd0$6801a8c0@SURVIVAL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c23326$11a49dd0$6801a8c0@SURVIVAL> User-Agent: Mutt/1.5.1i 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 > From: "MET" > To: > Subject: PHP and Apache > Date: Wed, 24 Jul 2002 11:23:22 -0400 > > 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. depends on your needs. --with-apxs creates a dynamic module, while --with-apache compiles php into apache. the first is easier to upgrade (you only need to compile new version of php [as opposed to php *and* apache]), the second is a bit faster. -- FreeBSD 4.6-STABLE 5:22PM up 8 days, 3:41, 9 users, load averages: 0.05, 0.05, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message