walkor/workerman-todpole

start_for_win.bat Fatal error, no pcntl extension

laukstein opened this issue · 1 comments

While running start_for_win.bat
Fatal error: Call to undefined function Workerman\Lib\pcntl_signal() in \Workerman\Lib\Timer.php on line 56:

pcntl_signal(SIGALRM, array('\Workerman\Lib\Timer', 'signalHandle'), false);

http://php.net/manual/en/intro.pcntl.ph
Note: This extension is not available on Windows platforms
http://php.net/manual/en/pcntl.installation.php
Note: Currently, this module will not function on non-Unix platforms (Windows).

Do you have any compatible alternative?