From owner-freebsd-questions@FreeBSD.ORG Sat Jun 3 19:04:30 2006 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 EF83116A4C6 for ; Sat, 3 Jun 2006 19:04:30 +0000 (UTC) (envelope-from bsd-unix@earthlink.net) Received: from pop-savannah.atl.sa.earthlink.net (pop-savannah.atl.sa.earthlink.net [207.69.195.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B7EC43D46 for ; Sat, 3 Jun 2006 19:04:27 +0000 (GMT) (envelope-from bsd-unix@earthlink.net) Received: from fl-71-54-28-212.dhcp.sprint-hsd.net ([71.54.28.212] helo=kt.weeeble.com) by pop-savannah.atl.sa.earthlink.net with smtp (Exim 3.36 #10) id 1FmbQ6-0005gY-00; Sat, 03 Jun 2006 15:04:22 -0400 Date: Sat, 3 Jun 2006 15:05:09 -0400 From: Randy Pratt To: robert Message-Id: <20060603150509.b5fa9a8d.bsd-unix@earthlink.net> In-Reply-To: <1149358324.9348.25.camel@localhost.localdomain> References: <1149358324.9348.25.camel@localhost.localdomain> X-Mailer: Sylpheed version 2.2.5 (GTK+ 2.8.18; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Apache22 + PHP5 installation issues 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: Sat, 03 Jun 2006 19:04:32 -0000 On Sat, 03 Jun 2006 19:12:04 +0100 robert wrote: > Hi all, > > I am having problems with setting up a web server. I'm running FreeBSD > 6.1-Release-P1, updated of yesterday. > > I have installed Apache22, php5 and php5-extensions from the ports. (I > did check the build Apache module option in the php5 config). > > My first problem is that the handbook still refers the to mod_php which > is not available. A search of the archives gave me the answer that it > has been removed. There's been some changes to the way PHP is organized. Take a look at /usr/ports/UPDATING, particularly the 20060506 entry for users of PHP. If I remember correctly: cd /usr/ports/lang/php5 make config (select "Build Apache Module") make install clean (or portupgrade -f php5-\* if you already have it installed) This has also been discussed and should be in the archives. HTH Randy --