From owner-freebsd-questions@FreeBSD.ORG Sat Jun 3 20:43:52 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 1B3CB16A494 for ; Sat, 3 Jun 2006 20:43:52 +0000 (UTC) (envelope-from bsd@bathnetworks.com) Received: from lmail.bathnetworks.co.uk (mail.bathnetworks.com [84.92.24.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4356043D48 for ; Sat, 3 Jun 2006 20:43:51 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: (qmail 20639 invoked by uid 510); 3 Jun 2006 21:50:26 +0100 Received: from 192.168.0.104 by lmail.bathnetworks.co.uk (envelope-from , uid 508) with qmail-scanner-1.24-st-qms (clamdscan: 0.88/1261. spamassassin: 3.0.2. perlscan: 1.24-st-qms. Clear:RC:0(192.168.0.104):SA:0(-4.5/5.0):. Processed in 2.125163 secs); 03 Jun 2006 20:50:26 -0000 X-Spam-Status: No, hits=-4.5 required=5.0 X-Antivirus-MYDOMAIN-Mail-From: bsd@bathnetworks.com via lmail.bathnetworks.co.uk X-Antivirus-MYDOMAIN: 1.24-st-qms (Clear:RC:0(192.168.0.104):SA:0(-4.5/5.0):. Processed in 2.125163 secs Process 20632) Received: from unknown (HELO ubuntu.bathnetworks.local.bathnetworks.local) (bsd@bathnetworks.com@192.168.0.104) by lmail.bathnetworks.co.uk with SMTP; 3 Jun 2006 21:50:23 +0100 From: robert To: Randy Pratt In-Reply-To: <20060603150509.b5fa9a8d.bsd-unix@earthlink.net> References: <1149358324.9348.25.camel@localhost.localdomain> <20060603150509.b5fa9a8d.bsd-unix@earthlink.net> Content-Type: text/plain Date: Sat, 03 Jun 2006 21:43:45 +0100 Message-Id: <1149367425.9348.36.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 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 20:43:52 -0000 On Sat, 2006-06-03 at 15:05 -0400, Randy Pratt wrote: > 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 Thanks Randy, I originally built php5 with build Apache module and the libphp5.so is present on my system (the ports were updated with portsnap yesterday). I have tried forcing a rebuild but that has not changed anything. Rob