Re: New PHP SAPI for Nginx
| From: | Kalle Sommer Nielsen | Date: | Thu, 25 Jun 2015 20:53:11 +0000 |
| Subject: | Re: New PHP SAPI for Nginx | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86885@lists.php.net to get a copy of this message | ||
Hi
2015-06-25 22:31 GMT+02:00 S.A.N <ua.san.alex@gmail.com>:
> New versions Nginx, implement thread pools,
> http://nginx.com/blog/thread-pools-boost-performance-9x/
>
> I think this is a good opportunity to write a Nginx module (PHP SAPI)
> which is to process requests for PHP scripts in processes Nginx.
>
> Quality advantages, as compared with the FPM, no network overhead,
> less memory consumption, may be implemented mode ZTS (Zend Thread
> Safety).
>
> What do you think about this?
> Thank.
If there is someone willing to implement this (and maintain it), I
don't see any reason for why this could not be accepted into PHP. I
would expect such, if implemented by someone, to first be available in
7.1.0, although we could do exceptions like we did for FPM which came
in 5.3.3 or something, although that was before tuning to our RFC
process and such.
--
regards,
Kalle Sommer Nielsen
kalle@php.net