From owner-freebsd-questions@FreeBSD.ORG Fri May 14 15:17:43 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 8263D16A4CE for ; Fri, 14 May 2004 15:17:43 -0700 (PDT) Received: from mail.voljatel.si (mail.voljatel.si [217.72.64.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5990D43D39 for ; Fri, 14 May 2004 15:17:42 -0700 (PDT) (envelope-from android.66@volja.net) Received: from localhost (localhost [127.0.0.1]) by mail.voljatel.si (Postfix) with ESMTP id 1B93851928; Sat, 15 May 2004 00:17:40 +0200 (CEST) Received: from mail.voljatel.si ([127.0.0.1]) by localhost (mail.voljatel.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 81833-09; Sat, 15 May 2004 00:17:21 +0200 (CEST) Received: from volja.net (cable13-82.ljk.voljatel.net [217.72.82.13]) by mail.voljatel.si (Postfix) with ESMTP id 9BAE550815; Sat, 15 May 2004 00:17:20 +0200 (CEST) Message-ID: <40A5456A.5000902@volja.net> Date: Sat, 15 May 2004 00:17:14 +0200 From: Android66 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andras Kende References: <20040514220123.3AA7743D1F@mx1.FreeBSD.org> In-Reply-To: <20040514220123.3AA7743D1F@mx1.FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.voljatel.si cc: freebsd-questions@freebsd.org cc: 'Bruce Hunter' 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:17:43 -0000 Just a quick note. /usr/ports/lang/php4 also includes command line interface beside the apache module. if you only need mod_php, you can cd to /usr/ports/www/mod_php4 instead. Andras Kende wrote: > -----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 > > > > > _______________________________________________ > 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" >