-
-
Notifications
You must be signed in to change notification settings - Fork 130
EventBaseConfig::FEATURE_FDS not supported on Windows #189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@inri13666 Thanks for reporting and providing the platform info, it looks like this might in fact be a bug on Windows with Can you verify this by running the test suite and showing its output prior to your change and with your change applied? If this fixes the problem, a simple PR with your changes would be much appreciated! |
Actual If I commented out mentioned line Later I'll prepare PR for this error But right now I'm not sure how to fix on windows
It would be nice to have test builds for windows hosts for example here https://www.appveyor.com/ Library issue https://bitbucket.org/osmanov/pecl-event/issues/53/eventbaseconfig-feature_fds-not-supported |
libevent supports Windows IOCP, related pecl-event issue for reference: https://bitbucket.org/osmanov/pecl-event/issues/54/libevent-iocp-backed-implementations |
@inri13666 Thank you for your patience, I've tried to reproduce this locally but have been unable to get The unrelated build error regarding timers is going to be fixed via #203. |
The DLL can be downloaded here https://pecl.php.net/package/event I have tested it with following extension version
PHP version
Full info here https://gist.github.com/inri13666/1e8d4e60ede974b97f86ed64a1fdb0e1 |
@inri13666 Thank you, I've been able to reproduce this locally with the help of @sitedyno ( |
If I use https://pecl.php.net/package/event library on
Windows
then I got following error out of the boxAfter small investigation I found that if following line commented then all works as expected
https://github.com/reactphp/event-loop/blob/master/src/ExtEventLoop.php#L47
Examples
Server: https://github.com/inri13666/web-socket-echoserver
Client: https://github.com/inri13666/web-socket-test
Library Info
Environment
systeminfo | findstr /B /C:"OS Version" /C:"System Type" /C:"System Locale"
php -i | findstr /B /C:"PHP Version" /C:"Architecture" /C:"Compiler" /C:"Configure Command" /C:"Zend Extension Build"
Configure Command:
cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared" "--with-oci8-12c=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--without-analyzer" "--with-pgo"
PHP Extensions
The text was updated successfully, but these errors were encountered: