Bug #62447 [Opn->Wfx]: FPM, libevent, Windows support
| From: | pajoye@php.net | Date: | Fri, 29 Jun 2012 08:19:49 +0000 |
| Subject: | Bug #62447 [Opn->Wfx]: FPM, libevent, Windows support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171620@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62447&edit=1
ID: 62447
Updated by: pajoye@php.net
Reported by: dave at yougeezer dot co dot uk
Summary: FPM, libevent, Windows support
-Status: Open
+Status: Wont fix
Type: Bug
Package: FPM related
Operating System: Windows
PHP Version: 5.4.4
Block user comment: N
Private report: N
New Comment:
it is not due to libevent, libevent (or similar libs, or using native APIs) are
available on Windows.
The problem is the core design of FPM, which is based on fork(), which is not
available and can't be emulated in a good way on windows.
Previous Comments:
------------------------------------------------------------------------
[2012-06-29 08:03:59] dave at yougeezer dot co dot uk
Description:
------------
From what I understand, FPM isn't currently available for the Windows port of
PHP due to it's dependency on libevent. I'm logging this feature request as
having FPM available on Windows would be a great boost, especially with the
recent release of Apache 2.4, containing a new mod_proxy_fcgi module for its
use.
If libevent doesn't provide enough cross-platform support to be suitable for the
task, perhaps other libraries could be considered to power FPM. For example,
Microsoft have worked with nodejs to help produce "libuv" which they call a
"BSD-licensed, minimal, high-performance, cross-platform networking library".
https://github.com/joyent/libuv/
It appears to put a lot of effort into Windows networking and then taking
advantage of the libev and libeio libraries for supporting other operating
systems.
Some developers have already started trying to make use of libuv in PHP...
http://chobie.net/article/2012/06/02/235433
https://github.com/bnoordhuis/phode
Test script:
---------------
Unable to test, no FPM support exists for Windows.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62447&edit=1