From owner-freebsd-questions@FreeBSD.ORG Sun Jun 10 07:48:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 640CB16A469; Sun, 10 Jun 2007 07:48:44 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [82.208.36.70]) by mx1.freebsd.org (Postfix) with ESMTP id 227BB13C447; Sun, 10 Jun 2007 07:48:44 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 1656819E02A; Sun, 10 Jun 2007 09:31:24 +0200 (CEST) Received: from [192.168.1.2] (grimm.quip.cz [213.220.192.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id CF2FB19E027; Sun, 10 Jun 2007 09:31:20 +0200 (CEST) Message-ID: <466BA8D5.9090009@quip.cz> Date: Sun, 10 Jun 2007 09:31:33 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Christopher Hilton References: <466B17E6.9000906@vindaloo.com> <49217.192.168.125.81.1181426436.squirrel@webmail.dfwlp.org> <466B579F.2080106@vindaloo.com> In-Reply-To: <466B579F.2080106@vindaloo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Jonathan Horne , bob@a1poweruser.com, User Questions , freebsd-ports@freebsd.org Subject: Re: Php5 port and Apache Module X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 07:48:44 -0000 Christopher Hilton wrote: > Jonathan Horne wrote: [...] > > Everyone seems to be misunderstanding my question. I'm aware of how to > build mod_php5. I'm curious about why the default configuration builds > php5 as a standalone CLI and CGI rather than as an apache module. I'm > assuming that there is some good engineering behind this decision but > I'd like to know a little more about that engineering. Is there some > advantage to running php as a Fast CGI process? I guess that mod_php5 depends on Apache and maintainer don't want this big dependency. The second is - if it will depends on Apache of some version (eg. 1.3) it will be broken with another version (2.0 and 2.2). It apply for binary packages. If somebody is compiling ports himself, then can check option "with apache" or add WITH_APACHE in to /etc/make.conf Miroslav Lachman