From owner-freebsd-questions@FreeBSD.ORG Thu Mar 30 16:20:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 8C91B16A400 for ; Thu, 30 Mar 2006 16:20:40 +0000 (UTC) (envelope-from danger@rulez.sk) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36AF943D46 for ; Thu, 30 Mar 2006 16:20:38 +0000 (GMT) (envelope-from danger@rulez.sk) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id E3CAB10E69E; Thu, 30 Mar 2006 18:21:50 +0200 (CEST) Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05887-11; Thu, 30 Mar 2006 18:21:50 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id 0AC0910E69D; Thu, 30 Mar 2006 18:21:49 +0200 (CEST) Date: Thu, 30 Mar 2006 18:19:06 +0200 From: Daniel Gerzo X-Mailer: The Bat! (v3.62.14) Professional X-Priority: 3 (Normal) Message-ID: <12110675875.20060330181906@rulez.sk> To: "Darryl Hoar" In-Reply-To: <002901c65413$92c9fa60$0701a8c0@darryl> References: <002901c65413$92c9fa60$0701a8c0@darryl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Cc: freebsd-questions@freebsd.org Subject: Re: Installing PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 16:20:40 -0000 Hi Darryl, Thursday, March 30, 2006, 6:04:05 PM, you has on mind: > greetings, > I have a freebsd 6.0-release box. I need to install php to use with > squirrelmail. When I go to /usr/ports/www and look for php4, I > see a lot of sub directories with names that aren't clear as to which > one installs php4. > So, anybody care to clarify this for me ? you most probably want to read a chapter in our Handbook located at http://www.freebsd.org/handbook. That documentation is a great thing :) also, for your information - the php4 core port persists in lang/php4 directory. > Also, I need to configure php with the following options: > --enable-track-vars > --enable-force-cgi-redirect > --with-gettext > --with-mysql > which file should I put those in before make, make install ? just type make config, see what options are configurable. if you need to configure any further things, you will have to edit Makefile and add these options to CONFIGURE_ARGS. For a side note, if you need php4 extensions, go for lang/php4-extensions port and type make config a then choose extensions you really need, do not use CONFIGURE_ARGS for this. > thanks, > Darryl -- Best Regards, Daniel Gerzo