From owner-freebsd-questions@freebsd.org Thu Mar 10 01:29:32 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6373AC9B55 for ; Thu, 10 Mar 2016 01:29:32 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1041EBC for ; Thu, 10 Mar 2016 01:29:32 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from john by potato.growveg.org with local (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1adpPn-000OUw-QO for freebsd-questions@freebsd.org; Thu, 10 Mar 2016 01:29:23 +0000 Date: Thu, 10 Mar 2016 01:29:23 +0000 From: John To: freebsd-questions@freebsd.org Subject: Re: Install PHP module in Apache24 Message-ID: <20160310012923.GA93705@potato.growveg.org> Reply-To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: john X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2016 01:29:32 -0000 On Wed, Mar 09, 2016 at 07:38:06PM -0500, Carmel wrote: >I am building a brand new server. I installed Apache24 and php56; >however, the PHP module was not installed in Apache. What am I doing >wrong? Should I choose the "Build Embedded Library" option? I remember >a long time ago there was an option to build the apache module, but I >do not see that now. Hi, I think that these days, rather than building the php apache module in apache, one builds it in php. It'll be visible (if I remember correctly, it's one of the options in make config) if yuou're building either php or php extensions from the ports. Also, just because it's built, it doesn't mean apache can use it - it has to be enabled in the httpd config. [1] might be wrong though, it's been a few years. -- John