That would require modifying debian/rules to allow multiple builds with different build parameters for each SAPI, and generating d/control to generated multiple sets of packages and modules.
The simpler patch the better. Cheers, -- Ondřej Surý <ond...@sury.org> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware, fast DNS(SEC) resolver Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro pečení chleba všeho druhu On Mon, Jun 19, 2017, at 09:26, Shengjing Zhu wrote: > On Mon, Jun 19, 2017 at 3:04 PM, Ondřej Surý <ond...@sury.org> wrote: > > I might do some work in a future into building both, but that has lot of > > "ifs". > > > > If you want to do fancy things with PHP, you will have to create your > > own PHP build, the release version of PHP needs to remain usable for the > > rest of the world. > > I was investigating the possibility of packaging a Minecraft PE server[1] > into > Debian, which requires a ZTS enabled php. > > Besides, I see some ZTS related commits in the source package. Do you > have a plan? or anything I can help with packaging? > > [1] https://github.com/pmmp/PocketMine-MP > > -- > Best regards, > Shengjing Zhu