From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 31 16:02:15 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5DAF2846 for ; Mon, 31 Mar 2014 16:02:15 +0000 (UTC) Received: from mail-oa0-x233.google.com (mail-oa0-x233.google.com [IPv6:2607:f8b0:4003:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2594E174 for ; Mon, 31 Mar 2014 16:02:15 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id i4so9537369oah.24 for ; Mon, 31 Mar 2014 09:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=tC7J5R8NtwbCRtXMkebhCOp9+k21ZJR8UpS5hip2yyA=; b=WL4qlFWdAJKDCRtSN0+2m1oxLeVU73OlDzmOnHPbieAzuPhmNxYT8e9UZydKPez403 Xj9gyBiAmx45i2I6Xfs4OBWq0sCLgRZyDc4qCKwE5MiBBm5vUxlsEGZaINDmgMfcxtHM 3jDXeybOU60M6aaPnmLWF3+rXp1fM+R+zpK2hqRO0QWBKdVPqv6j5LUz+iCwlp2uqHDk AT8ywMPBaFbwDDHIFrHU0spMhTdq+7V5RDcKlMULpJb86FKDFhVIXsStlFDU77kNgEv+ PBwNpIdwvHVGhQiekr5k9IGN18ExvCHaKqpdDz25K2oaOAbrxwYKNGg5qBoDZR07yRrN /Eew== MIME-Version: 1.0 X-Received: by 10.60.115.129 with SMTP id jo1mr23702668oeb.0.1396281734498; Mon, 31 Mar 2014 09:02:14 -0700 (PDT) Sender: aled.w.morris@googlemail.com Received: by 10.182.14.35 with HTTP; Mon, 31 Mar 2014 09:02:14 -0700 (PDT) In-Reply-To: <8b74e1be5e620292f9fc005e137dae8b.authenticated@ultimatedns.net> References: <8b74e1be5e620292f9fc005e137dae8b.authenticated@ultimatedns.net> Date: Mon, 31 Mar 2014 17:02:14 +0100 X-Google-Sender-Auth: VBNeHHZF0EdD4CQlACPEIrGefwU Message-ID: Subject: Re: despairing with apache httpd + php From: Aled Morris To: Chris H Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 16:02:15 -0000 On 31 March 2014 16:53, Chris H wrote: > No offense. But there's nothing here that indicates anything, but that > you've > built/installed www/apache-*, and lang/php* several times, and in several > different ways. Sorry, I know - I'm venting my frustration on the list :-) > There is absolutely no indication that any of the > build/installs failed their intended purposes. > I think I need some basic help on getting apache with mod_php installed using the "pkg" tool. Firstly, is it even possible? Or am I barking up the wrong tree? What packages do I need and which order do I install them? $ sudo pkg install apache24 $ sudo pkg install php55-mysql this doesn't result in an web server that executes php. I have no idea what to add to the httpd.conf to make it load php since there doesn't seem to be a "mod_php" file in the php package. Aled