From owner-freebsd-questions@freebsd.org Sat Dec 19 15:00:40 2015 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 15895A48A92 for ; Sat, 19 Dec 2015 15:00:40 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BEC151EA4 for ; Sat, 19 Dec 2015 15:00:39 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id d1a5d53d; Sat, 19 Dec 2015 10:00:29 -0500 (EST) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id dda678ce TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Sat, 19 Dec 2015 10:00:29 -0500 (EST) Message-ID: <1450537234.1205.95.camel@michaeleichorn.com> Subject: Re: How to setup a custom PHP package? From: "Michael B. Eichorn" To: Sergei G , FreeBSD Questions Date: Sat, 19 Dec 2015 10:00:34 -0500 In-Reply-To: <56755BBF.1090801@gmail.com> References: <56755BBF.1090801@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2015 15:00:40 -0000 On Sat, 2015-12-19 at 05:29 -0800, Sergei G wrote: > Hi, > > I have discovered that one PHP app I am running in a jail needs PHP > built with --enable-mbstring option.  It appears that 10.2 is not > compiled with that option. > > So, I need to build a custom PHP package and load it into a jail. How > do > I do that?  I have never setup a custom package repository. > > I hope I can build just the PHP and may be PHP-FPM and nothing else > in > my custom repo.  I'd like the rest of the packages to be loaded from > standard repositories as usual. > > > Thank you Have you tried converters/php56-mbstring? The PHP package is just the basics but most of the options have been complied as extensions and can be installed as with packages.