From owner-freebsd-ports@FreeBSD.ORG Fri Feb 27 14:21:44 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD2051065777 for ; Fri, 27 Feb 2009 14:21:44 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 69C068FC0A for ; Fri, 27 Feb 2009 14:21:44 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: (qmail 63667 invoked from network); 27 Feb 2009 13:55:03 -0000 Received: from unknown (HELO ?10.0.0.135?) (spawk@128.238.64.31) by acm.poly.edu with AES256-SHA encrypted SMTP; 27 Feb 2009 13:55:03 -0000 Message-ID: <49A7F05D.2070708@acm.poly.edu> Date: Fri, 27 Feb 2009 08:53:33 -0500 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.19 (X11/20090108) MIME-Version: 1.0 To: Robert Huff References: <18855.59166.483602.739949@jerusalem.litteratus.org> In-Reply-To: <18855.59166.483602.739949@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: OT: apache + php not working X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 14:21:46 -0000 Robert Huff wrote: > Any experts out there willing to do a little off-list advising > on why my Apache 2.2 server isn't handling php5? > > > Robert Huff > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > I have several installations of Apache 2.2 with PHP 5 as a module. The relevant httpd.conf bits look like this: LoadModule php5_module libexec/apache22/libphp5.so (The above line is added to httpd.conf by the lang/php5 port if you compile the module.) ... DirectoryIndex index.html index.php ... AddType application/x-httpd-php .php If I'm making some incorrect assumptions about your setup, can you be more specific about how you installed both Apache and PHP? -Boris