Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 00:10:10 +0200
From:      Steve Mazerski <smazerski@yahoo.co.jp>
To:        "MET" <met@uberstats.com>, <freebsd-questions@freebsd.org>
Subject:   Re: PHP Apache Assistance ~ like a moron
Message-ID:  <200207250010.10357.smazerski@yahoo.co.jp>
In-Reply-To: <200207242321.01059.smazerski@yahoo.co.jp>
References:  <003201c23353$7cc7db90$6801a8c0@SURVIVAL> <200207242321.01059.smazerski@yahoo.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 24 July 2002 23:21, Steve Mazerski wrote:
> On Wednesday 24 July 2002 22:48, MET wrote:
> >
> > ee /usr/local/apache/conf/httpd.conf
> >
> > I then append the line:    AddType application/x-httpd-php .php
>
> does Apache know about the PHP module? Somewhere in
> the httpd.conf there should be two sections (can't recall
> off-hand) where the modules-to-be-loaded are explictly
> mentioned. You may need to add PHP in both.

hah, found an old httpd.conf knocking around.
You will probably need something like this:

        <IfDefine PHP4>
        AddModule mod_php4.c
        </IfDefine>

        <IfDefine PHP4>
        LoadModule php4_module /usr/lib/apache/libphp4.so
        </IfDefine>

S.Mazerski


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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