Closed nargyriou closed 3 years ago
I have the same issue. When creating multiple runtime instances with new \parallel\Runtime(); some instances fail to create and the process hangs indefinitely. Using: PHP 7.4.6 (cli)( ZTS Visual C++ 2017 x64 ) parallel version = 1.1.3
If the issue persists under 8.0+ please open a new issue.
Note, I don't know why you would try to run:
$runtime = new \parallel\Runtime();
echo "Hello";
$runtime->kill();
die();
I have PHP 7.3.5 with thread support, and VC15
If I try to run this:
I get no output, the page stalls and the browser gives me "The connection was reinitialized"
The only line I need for the page to stall is
$runtime = new \parallel\Runtime();
I only just installed the extension
php_parallel.dll
in the extensions folderextension=php_parallel
in php.iniSurely I must have missed something
Here's a snippet from my phpinfo();
And parallel is indeed in the extensions