Re: build sapi's separately
| From: | Johannes Schlüter | Date: | Fri, 15 Oct 2010 11:44:22 +0000 |
| Subject: | Re: build sapi's separately | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49911@lists.php.net to get a copy of this message | ||
On Fri, 2010-10-15 at 12:27 +0100, Dave Ingram wrote:
> On 10/14/10 12:04, Enrico Weigelt wrote:
> > is it already possible to build the sapi modules separately ?
> > I'd like to split them off into completely separate packages
> > for easier systems maintenance.
>
> Various distros already do this. See for example the Red Hat PHP RPM. It
> depends which packaging system you use, but if you're familiar with RPM
> then this would perhaps be a good starting point.
They are still building SAPIs as part of the main PHP build.
Building "stand-alone" SAPIs is not really supported. The closest one
can do is build the embedded SAPI and then link against the created lib
(either .a or .so) I was successful in the past ignoring the "embedded"
stuff in the lib and register your own SAPI. But as said: That's not
really supported.
For this reason we're a bit less strict about adding SAPIs, like we did
with lightspeed and fpm.
johannes