Re: Refactoring our IO multiplexing layer
| From: | Julien Pauli | Date: | Thu, 19 Jun 2014 11:53:17 +0000 |
| Subject: | Re: Refactoring our IO multiplexing layer | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74988@lists.php.net to get a copy of this message | ||
On Thu, Jun 19, 2014 at 11:22 AM, Chris Wright <daverandom@php.net> wrote:
> On 19 June 2014 08:05, Florian Anderiasch <ml@anderiasch.de> wrote:
>> Hey,
>> I like the idea and don't want to rain on your parade, but please do an
>> *extensive* cross-OS check beforehand, I do remember some problems with
>> this kind of stuff on NetBSD/OpenBSD for example (not in PHP,
>> elsewhere), and PHP supports a lot of OSs I haven't used in 10 years or
>> not at all. AFAIK both libevent and libuv have quite a good support, but
>> just after a quick look into the manual (Do we even have a definitive
>> list of supported OS there?) - Solaris, Illumos, HP-UX... no clue here.
>
> Node.js (i.e. libuv) is available for all the common operating systems
> that PHP is used with, including Solaris and every BSD flavour I can
> think of. It's also possible to build Node on SmartOS, so Illumos is
> presumably viable.
>
> It doesn't seem to support HP-UX at the moment, but this fairly old
> thread [1] suggests that Joyent believe it's possible, and I'm sure
> they would be open to outside help to make it happen.
>
> You are absolutely right though, any major change in architecture such
> as this requires checks that we won't break support for an OS where
> PHP is used a lot - this is likely not to be the only such change that
> will be suggested for PHP6, so maybe job #0 should be to compile an
> "official" list of supported operating systems, rather than the
> anecdotal "hey, I made it work here" system that currently seems to
> exist for some of the less common systems.
We have no official list AFAIR, but the documentation's got sheets about
specific OS recommandations, at http://www.php.net/manual/en/install.php
I agree it could be a nice thing to list OSes we officially support nowadays,
OSes we would like to support for PHP6, and then try to make this fit
with a possible
future lib we would link against.
Julien