From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 14:53:10 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 7CF7016A4CE for ; Fri, 3 Dec 2004 14:53:10 +0000 (GMT) Received: from server1.aaawebsolution.com (server1.aaawebsolution.com [72.3.131.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2919D43D48 for ; Fri, 3 Dec 2004 14:53:10 +0000 (GMT) (envelope-from tscrum@aaawebsolution.com) Received: from wolf (68-64-190-25.atlsfl.adelphia.net [68.64.190.25]) (authenticated bits=0)iB3Er7CV087135; Fri, 3 Dec 2004 09:53:16 -0500 (EST) (envelope-from tscrum@aaawebsolution.com) From: "Thomas S. Crum - AAA Web Solution, Inc." To: "'Andrew L. Gould'" , "'Cristi Tauber'" Date: Fri, 3 Dec 2004 09:52:56 -0500 Message-ID: <003301c4d947$cc81a390$0200a8c0@wolf> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <20041203074442.2177b1f3@grokwell.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal 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 14:53:10 -0000 By installing php4-extensions it will auto to using mod_php with apache. = I have never had a lick of trouble with apache 1.3 and the above mentioned set-up. Although, as the message states many have complained of trouble = with 2. I recommend installing mysql 1st, apache 1.3 2nd, then the = php4-extensions. Best, Thomas S. Crum -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Andrew L. = Gould Sent: Friday, December 03, 2004 8:45 AM To: Cristi Tauber Cc: FreeBSD Question Subject: Re: php4-cli or mod_php4 On Fri, 03 Dec 2004 15:30:15 +0200 Cristi Tauber wrote: > Hello list, >=20 > 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. >=20 > Thanks, >=20 > Cristi Hi Cristi, Install php4-extensions; and then follow these instructions, which are found in /usr/ports/lang/php4/pkg-message.mod: *************************************************************** Make sure index.php is part of your DirectoryIndex. You should add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps *************************************************************** You're next big question may be whether to use apache 1.3 or apache 2, as I keep seeing references on the internet about people having problems with php and apache 2. Best regards, Andrew Gould _______________________________________________ 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"