- changed status to resolved
EventBaseConfig::FEATURE_FDS not supported on Windows
Possibly library does not support FEATURE_FDS
on Windows
More details here https://github.com/reactphp/event-loop/issues/189
I'm using precompiled binaries for PHP 7.1 TS from here https://windows.php.net/downloads/pecl/releases/event/2.4.2/
Comments (6)
-
repo owner -
repo owner Thanks.
Well, the fact that the constant is available doesn't mean that the feature itself is supported on any platform. But I must admit, the current API doesn't provide a good way to check if a feature is supported. So I've changed
EventBase::__construct
so that it throwsEventException
in case if libevent fails to constructevent_base
with the features passed viaEventConfig
. -
reporter @osmanov is it possible to make precompiled windows binaries for version 2.4.3 for php version 7.0 & 7.1 From the logs https://windows.php.net/downloads/pecl/releases/event/2.4.3/logs/ I see that all should be compiled, but binaries not exist at https://windows.php.net/downloads/pecl/releases/event/2.4.3/ :(
-
repo owner If the proposed solution fixes your problem, I'll publish a new PECL package.
-
repo owner I would rather let the PECL system to build the binaries =) I have no the appropriate Windows build environment right now.
Well, I'll publish a new PECL package then.
-
reporter Ok, thx a lot :)
- Log in to comment
Fixed issue
#53: EventBase::__construct now throws EventException if the features specified via the EventConfig parameter are not supported on the current platform.→ <<cset ffc2f18c9988>>