From owner-freebsd-questions@FreeBSD.ORG Wed Aug 3 16:20:22 2005 Return-Path: X-Original-To: questions@freebsd.org 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 5531316A425 for ; Wed, 3 Aug 2005 16:20:22 +0000 (GMT) (envelope-from info@orangexl.com) Received: from mail.orangexl.nl (mail.orangexl.nl [194.109.66.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id A726543D45 for ; Wed, 3 Aug 2005 16:20:21 +0000 (GMT) (envelope-from info@orangexl.com) Received: from OrangeXL (cp262152-a.roose1.nb.home.nl [84.26.101.188]) (AUTH: LOGIN postmaster@orangexl.com) by mail.orangexl.nl with esmtp; Wed, 03 Aug 2005 18:20:14 +0200 From: "Sander Holthaus - Orange XL" To: "'David Banning'" Date: Wed, 3 Aug 2005 18:20:12 +0200 Organization: Orange XL Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcWYQlKKejVWOefYR6KwWPeI0rsFEwAA9l6A In-Reply-To: <20050803154454.GA77763@skytracker.ca> Cc: questions@freebsd.org Subject: RE: running lighttpd with FastCGI 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: Wed, 03 Aug 2005 16:20:22 -0000 David Banning wrote: >> PHP has a meta-port for cgi: www/php4-cgi. Use that to start. There >> are a few options you have to define, in the Makefile of lang/php4, >> you will find: > > Yes, I just found that reference on the lighttpd website. I > actually did try it, but ran into access problems. I -did- > achieve success by compiling the code available from the lighttpd > website. > > Just so I understand how to handle options when compiling in the > ports; > >> .if defined(WITH_REDIRECT) >> CONFIGURE_ARGS+=--enable-force-cgi-redirect >> .endif > > To enable this, in the correct port I would go; > > # make install WITH_DIRECT="yes" > > Is that the correct syntax for enabling options? I'm not sure what the definitive way is, but I use the following (php5 with fastcgi): make -DWITH_FASTCGI -DWITH_REDIRECT -DWITH_DISCARD install clean >From what I understand, you do not need to set those to yes explicitely. Clean is not necessary, but it will save you some diskspace. Kind Regards, Sander Holthaus