From owner-freebsd-questions@FreeBSD.ORG Mon Apr 23 06:56:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF24216A401 for ; Mon, 23 Apr 2007 06:56:05 +0000 (UTC) (envelope-from peter@pean.org) Received: from klein.pean.org (pean.org [195.24.165.61]) by mx1.freebsd.org (Postfix) with ESMTP id 831B213C459 for ; Mon, 23 Apr 2007 06:56:05 +0000 (UTC) (envelope-from peter@pean.org) Received: from [192.168.12.13] (trusted.jajja.com [217.118.217.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by klein.pean.org (Postfix) with ESMTP id 1EA4DDE8C80; Mon, 23 Apr 2007 08:56:04 +0200 (CEST) Message-ID: <462C5884.204@pean.org> Date: Mon, 23 Apr 2007 08:56:04 +0200 From: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= User-Agent: Thunderbird 1.5.0.8 (X11/20061123) MIME-Version: 1.0 To: Stephen Willson References: <462BF1D30200003100010672@sjsnw-clgwia1.stjoe.org> In-Reply-To: <462BF1D30200003100010672@sjsnw-clgwia1.stjoe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Apache and PHP Packages 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: Mon, 23 Apr 2007 06:56:05 -0000 Stephen Willson wrote: > I have installed the latest Apache and PHP Packages. I can get Apache working, but nothing is standing out as to why I can't get the PHP package to work. Best I can figure is that this package was compiled without the options to include apache support. -or- there is another package that adds support for apache 2.2.3 > > i installed: > > php5-5.1.6_3 > apache-2.2.3 > > (and dependencies). > > can't figure it out. i haven't installed /compiled with FreeBSD in a long time so I thought the packages would be easy enough... > > > > I dont know whether or not the php-package are built with the apache module but have you configured your apache correctly? have you added AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps to your apache conf? My suggestion would be to compile the packages from the ports-collection to make sure the module is compiled and then make sure that the webserver is configured properly. You can read about the ports collection and how to use it here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html