From owner-freebsd-questions@FreeBSD.ORG Wed Nov 30 04:47:34 2005 Return-Path: X-Original-To: freebsd-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 E23B016A41F for ; Wed, 30 Nov 2005 04:47:34 +0000 (GMT) (envelope-from ml@proficuous.com) Received: from mail.proficuous.com (www.proficuous.com [209.240.79.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EF1943D7B for ; Wed, 30 Nov 2005 04:47:32 +0000 (GMT) (envelope-from ml@proficuous.com) Received: from aaron.proficuous.com (aaron-workstation.proficuous.com [192.168.3.69]) by mail.proficuous.com (Postfix) with ESMTP id 5E50AA89455; Tue, 29 Nov 2005 22:47:23 -0600 (CST) From: Aaron Martinez To: freebsd-questions@freebsd.org, Grant Peel Date: Tue, 29 Nov 2005 22:46:33 -0600 User-Agent: KMail/1.8.3 References: <000501c5f553$f6106f10$6401a8c0@GRANT> In-Reply-To: <000501c5f553$f6106f10$6401a8c0@GRANT> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511292246.34163.> Cc: Subject: Re: FreeBSD 6 Apache Port 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, 30 Nov 2005 04:47:35 -0000 On Tuesday 29 November 2005 20:15, Grant Peel wrote: > Hi all, > > I am quite proficient at installing Apache, mod_ssl, mysql php (as a static > module) on FreeBSD < 5.0. I always do this from source as I do not > understand how to use the ports system ... as far as linking all the mods > together. > > I have recently installed a new server using FreeBSD 6.0. > > Does anyone know a good tutorial or guide on how to compile Apache 2.x > mod_ssl and php to gether from the ports collection? I know how to cd > /usr/ports/port_name_here , make , [make test] , make install, but have > never understood how to tie the mods together to procuce a complete setup. > > Also, what is the prefered method for adding ./configure args to a port? > > FYI, all I am looking to do is to compile Apache 2.x mod_ssl and php > together so as to have a ports build of the apache webserver. > > Any help will be appreciated. > > -Grant Depending on which version of Apache you're trying to build depends on the different modules you'll need to add in. Apache 2 has native ssl included so no mod needed. If you want php support in your apache, then simply install the /usr/ports/www/mod_php(4_5) port. DONE.. here is an excerpt from a google search: "I recommend lang/php4 When you install it should come up with a menu allowing you to choose your options (GD support, CLI, etc). After it is done, it will tell you what to add to your httpd.conf file to get .php files working (apache restart required). To test, make a file like: " "Just a quick note. /usr/ports/lang/php4 also includes command line interface beside the apache module. if you only need mod_php, you can cd to /usr/ports/www/mod_php4 instead/" Aaron Martinez