Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2004 10:20:32 -0600
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        junkmail@sensewave.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How do I 'activate' mod_php5?
Message-ID:  <4198D750.5090506@daleco.biz>
In-Reply-To: <20041115115631.GA2804@tyven.la3sg.net>
References:  <20041115115631.GA2804@tyven.la3sg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4198D750.5090506>