Well when Andrei had created this new FPM, it only had two
dependencies - the slightly modified libevent and a vanilla PHP that
had been ./compiled and make'd without any switches needed.
In theory your bug with extensions not loading shouldn't have anything
to do with FPM as PHP is compiled with its own flags and FPM just
interacts with it (of course, that doesn't seem to be the case if you
launch it normally just fine but under FPM it doesnt work)
I FPM as being something that can be an enhancement to PHP and tying
it in to their source code limits how fast we can move. I don't know
how packaging is done though.
On Thu, Aug 20, 2009 at 6:44 PM, dreamcat four<dreamcat4@gmail.com> wrote:
>
> On Thu, Aug 20, 2009 at 11:24 PM, Michael Shadle<mike503@gmail.com> wrote:
>>
>> Ideally this should be able to be packaged as a standalone debian type
>> package, not a patch necessarily. just like php5-mysql and other php
>> modules.
>
> Assuming that you mean an standalone orig.tar.gz *source* package here
> (as opposed binary package which is what a regular user would
> install).
>
> Hmm...
> There appear to be a similar number common and/or separated source
> packages for php5. I've been listening for more news on this and but
> have yet to hear ways for how things could be better that way. Perhaps
> i'm slightly biased (am i?). It's certainly a possibility however my
> own investigation of this had found that route requires a considerable
> amount of additional work + maintenance overhead. So without any clear
> benefits to go with that, i was unable to justify the expenditure to
> myself in terms of developer time.
>
>
> Here's 4 good reasons not to:
>
> 1) You will loose everything in $(WEB_CONFIG).
>
> 2) You'll have to stay on top of the security updates. The Debian
> maintainers of PHP5 do a really great service by worrying about these
> security updates for us and it would be a shame to loose that. (not to
> mention that you won't actually be approved without providing those).
>
> 3) Conversely, by remaining within official php5 source package (+our
> separate source tree), we have official people automatically fixing
> all the ubuntu and php - related build problems for us. Isn't that
> just like heaven or something? So from a maintainability standpoint -
> it's really hard to see much benefit unless you have a faster
> iteration release cycle than php (which FPM project doesn't).
>
> 4) That's not to say we don't still maintain our own source code, and
> have complete independence in our FPM project. A source package is
> simply that - it is only a package and not the contents. We really
> should want to be productively focussed on the contents of the package
> and not the parcel it comes in.
>
>
> OTOH - a good thing for giving choices to Ubuntu and better
> accommodate their packaging needs. We can consult both MOTU and
> ubuntu-main-developers before deciding anything. Yet another
> possibility might be to put fpm in php5-common's orig.tar.gz file.
> Meaning no patch and presumably some alternative vcs-delivery method
> instead. If we don't know what to do - we start a conversation on IRC
> or Launchpad.
>
> That's just meant to be an example - question i.e. how through
> consultation we can help make an informed choice here. Personally i'm
> not interested to be involved at that level. Indeed why stretch /
> over-reach our abilities to go even further by making the source
> package seperate? Is it an ubuntu way? What are the true benefits? Im
> certainly curious to see how it will all eventually pan out. Worst
> case is we get something i cannot use in production because it's not
> got library X,Y,Z (wheras apache2module does). I hope people at least
> look at the common, even if its a separate, and copy the good bits
> over or something.
>
>
> Best regards,
>
> dreamcat4
> dreamcat4@gmail.com
>