From owner-freebsd-questions@FreeBSD.ORG Mon Nov 15 16:20:24 2004 Return-Path: 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 9C31416A4D1 for ; Mon, 15 Nov 2004 16:20:24 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B64643D1F for ; Mon, 15 Nov 2004 16:20:24 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 15 Nov 2004 10:16:50 -0600 Message-ID: <4198D750.5090506@daleco.biz> Date: Mon, 15 Nov 2004 10:20:32 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041023 X-Accept-Language: en-us, en MIME-Version: 1.0 To: junkmail@sensewave.com References: <20041115115631.GA2804@tyven.la3sg.net> In-Reply-To: <20041115115631.GA2804@tyven.la3sg.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Nov 2004 16:16:50.0796 (UTC) FILETIME=[8379FAC0:01C4CB2E] cc: freebsd-questions@freebsd.org Subject: Re: How do I 'activate' mod_php5? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 16:20:24 -0000 Kjell Midtseter wrote: >After installing lang/php4-extensions with apache13, >I can start using embedded php in my web pages right away. >When installing lang/php5-extensions, the embedded php >is passed as if it were html without being interpreted. >Any initialization required fro php5? >The required modules seems to be in place in httpd.conf >I get the same results when I make a new clean and cvsup'ed install from the 5.3R CD >Kjell > > > The procedure is the same for PHP5 as it was for PHP4, with no variations *that I have noticed*. So, the first question ... have you added/modified/created the necessary AddModule, LoadModule, and AddHandler (or is it AddType?) lines in your httpd.conf? When we moved from PHP v4 to v5, all we had to do was replace the "4" with the "5" in all those locations. Of course, it could be something else ... <#include disclaimer.h> Kevin Kinsey