How to setup a custom PHP package?

Michael B. Eichorn ike at michaeleichorn.com
Sat Dec 19 15:00:40 UTC 2015


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.


More information about the freebsd-questions mailing list