From owner-freebsd-questions@FreeBSD.ORG Fri May 14 15:01:23 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 E911416A4CE for ; Fri, 14 May 2004 15:01:23 -0700 (PDT) Received: from kende.com (ns1.kende.com [66.17.131.94]) by mx1.FreeBSD.org (Postfix) with SMTP id 3AA7743D1F for ; Fri, 14 May 2004 15:01:23 -0700 (PDT) (envelope-from andras@kende.com) Received: (qmail 27726 invoked by uid 0); 14 May 2004 22:01:31 -0000 Received: from unknown (HELO ak) (67.163.120.76) by ns1.kende.com with SMTP; 14 May 2004 22:01:31 -0000 From: "Andras Kende" To: "'Bruce Hunter'" , Date: Fri, 14 May 2004 17:01:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <40A51751.9070807@solisix.com> Thread-Index: AcQ55e0ENcxqKGoeRxqUOxYRohFRuwAGQ+sQ Message-Id: <20040514220123.3AA7743D1F@mx1.FreeBSD.org> Subject: RE: Apache 2 / PHP Installation 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: Fri, 14 May 2004 22:01:24 -0000 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Bruce Hunter Sent: Friday, May 14, 2004 2:01 PM To: freebsd-questions@freebsd.org Subject: Apache 2 / PHP Installation Hi all, I installed Apache 2 from the ports collection. Does apache2 come with php support? Probably not, but not sure. I want to install php on the system. I'm not sure what port I need to install?? All the pre recks.. are for 1.* versions of Apache. What's the deal? Thanks so much, Bruce _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Bruce, Cvsup the latest ports tree... cd /usr/ports/lang/php4 ; make install clean add this 2 lines to /usr/loca/etc/apache2/httpd.conf : AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps /usr/local/etc/rc.d/apache2.sh stop /usr/local/etc/rc.d/apache2.sh start Create a php test file and see if its working.... Andras Kende http://www.kende.com