-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
LibEvent issue #130
Comments
What is the version of your php? |
I use |
I think this is the issue of https://github.com/expressif/pecl-event-libevent. |
I switch to
|
Please use event extension. |
I use before
How can I install event extension for PHP7 . I search web but don't find extension for PHP7 |
I install Now my event handler is |
For test I comment Now my event loop is
Why I dont have this error for WHY I HAVE NO ISSUE WITH |
Show your codes please. |
$connection = pg_connect("host=localhost port=5432 dbname=mary");
$socket = pg_socket($connection);
Worker::$globalEvent->add($socket, EventInterface::EV_READ, function(){
//My Codes
}); |
Looks like Epoll does not support the resource of pg_connect returned. |
I test the code without workerman in a test file . it works well with libevent and php7 But in workerman when I enable libevent I have this error
|
Can you test with event ? |
I run test script with event , this error occurred
Workerman itself workes with event |
Yes, extension of libevent are not stable enough for php7. |
Hi again |
I'm not good at C programming and I do not know whats's the problem with |
When I switch to libevent I have this issue
The text was updated successfully, but these errors were encountered: