From owner-freebsd-questions@FreeBSD.ORG Sat Apr 9 16:23:52 2005 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 5B73516A4CE for ; Sat, 9 Apr 2005 16:23:52 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id A987B43D39 for ; Sat, 9 Apr 2005 16:23:51 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 9 Apr 2005 11:02:43 -0500 Message-ID: <4257FD1B.60601@daleco.biz> Date: Sat, 09 Apr 2005 11:04:43 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Matthias F. Brandstetter" References: <200504070941.42684.haimat@lame.at> <7c263b6d05040705363e39daa7@mail.gmail.com> <200504091737.44009.haimat@lame.at> In-Reply-To: <200504091737.44009.haimat@lame.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Apr 2005 16:02:43.0820 (UTC) FILETIME=[908972C0:01C53D1D] cc: Yoann Le Bihan cc: freebsd-questions@freebsd.org Subject: Re: how to enable PHP on Apache? 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: Sat, 09 Apr 2005 16:23:52 -0000 Matthias F. Brandstetter wrote: >---------- quoting Yoann Le Bihan ---------- > > >>Hello ! :-) >> >>You just need to install mod_php port. It's located into >>/usr/ports/www (there are a mod_php4/ and a mod_php5/ directories). >>Just "make install clean" from one or two of these directories and it >>must be installed. Because I think it's not installed (even if it's >>mentionned in httpd.conf... it's strange by the way :-). >> >>Don't forget to make a "/usr/local/sbin/apachectl restart" after (if >>it's not already done from the port's installation). >> >> > >I did all you said, httpd-error.conf says: "Apache/1.3.33 (Unix) >mod_perl/1.29 PHP/4.3.11 configured -- resuming normal operations" > >But when I try to access my phpmyadmin installation Firefox asks me which >program I want to use to open this PHP file :( > >Any other ideas? >I am somewhat lost here :( > >Greetings and TIA, Matthias > > If you create a "normal" PHP page* under the Apache server's docroot (instead of in the phpmyadmin install, which is an alias), do you get the same behavior? Kevin Kinsey * like this: