Open iorsa opened 4 years ago
You mentioned PHP-FPM, does this mean what you're trying to do runs in PHP-FPM?
Yes.
Hmm ok, just FYI we don't test anything in PHP-FPM, it shouldn't matter tho.
Well, I should, first of all, check the same code with PHP in CLI mode, to exclude php-fpm compatibility. I've checked it recently and can confirm that in CLI it works as expected with each adapter (ChildProcess, UV and EIO), so the issue is related to php-fpm compatibility.
Though, I'm using php-fpm with other reactphp libraries (event-loop, promises, mysql, http-client/buzz-browser) almost everyday over 6 months and can't remember similar problems, so it may depend only on this (filesystem) library.
Hi,
I'm stacked at situation where I can't use this beautiful library.
I have PHP 7.0.32 with php-fpm enabled. Here is additional information about extensions directly from phpinfo:
// PHP libuv Extension libuv Support enabled Version 0.2.2 libuv Version 1.26
// eio eio support enabled Debug support disabled Version 2.0.4
// event Event support enabled Sockets support enabled Debug support disabled Extra functionality support including HTTP, DNS, and RPC enabled OpenSSL support enabled Thread safety support disabled Extension version 2.4.2 libevent2 headers version 2.0.19-stable
// libevent libevent support enabled extension version 0.2.0-dev Revision $Revision$ libevent version 2.1.8-stable
Here is the code I'm using:
Here are my results with various loop implementations
I'm using next versions of libraries:
Do you need any additional information?