From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 16:40:18 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 501B116A4CE for ; Fri, 3 Dec 2004 16:40:18 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id E831C43D46 for ; Fri, 3 Dec 2004 16:40:17 +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); Fri, 3 Dec 2004 10:42:44 -0600 Message-ID: <41B096FF.6030706@daleco.biz> Date: Fri, 03 Dec 2004 10:40:31 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041023 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cristi Tauber References: <41B06A67.971C29EB@sbhost.ro> In-Reply-To: <41B06A67.971C29EB@sbhost.ro> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Dec 2004 16:42:46.0480 (UTC) FILETIME=[1E2C0500:01C4D957] cc: FreeBSD Question Subject: Re: php4-cli or mod_php4 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, 03 Dec 2004 16:40:18 -0000 Cristi Tauber wrote: > Hello list, > > i want to install apache+php+mysql. If i install mod_php i cannot >install php4-extension (mysql, etc ...). If i try to install php4-cli >and extensions apache doesn't know how to handle .php files . What's the >they to go to make apache work with mysql and php ? fBSD is 5.3. > > Thanks, > > Cristi > > I would recommend installing /lang/php4 and /lang/php4-extensions. /lang/php4 is something of a "meta" port that builds the Apache module, the CLI, and I *think* the CGI (IIRC), if you should want that. The extensions will certainly build with it, and I've actually found that since I'm a little better in PHP than most shell languages, I can use the CLI for a variety of tasks without spending all my time reading about how to script bash .... There are a few things to check if your Apache installation *still* doesn't execute *.php scripts, but I feel confident that installating the two ports mentioned above will handle all, or almost all, or this for you. HTH, Kevin Kinsey