From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 31 16:07:44 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 94CDEAF1 for ; Mon, 31 Mar 2014 16:07:44 +0000 (UTC) Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) (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 55D2A275 for ; Mon, 31 Mar 2014 16:07:44 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id w5so8217040qac.20 for ; Mon, 31 Mar 2014 09:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8dRxWspl/hCJzJiQ+KZJK9EFcl/q5BxAB+IogxJfAfU=; b=0K6eN4nztMOi9TlQ8c9lzSag2AfvRtBTZI6iX9ij2I5Yty/ztLbvFHLu6VFYm/LwGZ HilVW3lVYj5nzrAC0P9J4ue4Nsck+UnLpHoyZVZ81JSKxM5lq/2efSGuzyDQFh3ux+t5 lwLcIu2q7H5yjXkxIRPW3t3Kfrkk+ms3gpEl1amIapK+gJ9DtQBQhXvSngLccfr1V3Ek e9VuQg0ukOFuwMLrkgmqX8Ywh+e+zOIOnDu8EgajlY1k7dlRLe9szJw6ntw46wQct/5z fYCmNn9ShxGCW3efUTTkVmJKChCXEecZuEJ+Dt+Xnp8/VDWNCFzweeMufnvgahdbzCa0 TaEg== MIME-Version: 1.0 X-Received: by 10.140.91.105 with SMTP id y96mr27526845qgd.3.1396282063369; Mon, 31 Mar 2014 09:07:43 -0700 (PDT) Received: by 10.140.94.232 with HTTP; Mon, 31 Mar 2014 09:07:43 -0700 (PDT) In-Reply-To: References: <8b74e1be5e620292f9fc005e137dae8b.authenticated@ultimatedns.net> Date: Mon, 31 Mar 2014 18:07:43 +0200 Message-ID: Subject: Re: despairing with apache httpd + php From: Carlos To: Aled Morris Content-Type: text/plain; charset=UTF-8 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:07:44 -0000 > > 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 > _______________________________________________ Have you read this entry on port's UPDATING file? 20140327: AFFECTS: users of lang/php5 and lang/php55 with Apache module AUTHOR: ale@FreeBSD.org The Apache PHP module has been separated from the main PHP port. If it is needed, install either www/mod_php5 or www/mod_php55. Best regards