morozovsk / websocket

simple php websocket server + demos + yii/yii2 integration + php 7 support
368 stars 74 forks source link

Running on windows #9

Open bsploit opened 9 years ago

bsploit commented 9 years ago

Hi! Is it possible to get workaround? PHP Fatal Error 'yii\base\ErrorException' with message 'Call to undefined function morozovsk\websocket\posix_getpid()'

in C:\wamp\www\flex\vendor\morozovsk\websocket\Server.php:61

hamrak commented 8 years ago

posix_getpid does not work on windows but getmypid works both on windows and linux

hamrak commented 8 years ago

Any alternative for posix_getpgid()? Maybe using http://www.cygwin.com/?

morozovsk commented 8 years ago

getmypid is not help. Also need posix_getpgid and posix_kill.

spiritabsolute commented 8 years ago

PHP Fatal error: Call to undefined function morozovsk\websocket\posix_getpid() у меня такая же ошибка.

morozovsk commented 8 years ago

Sorry. Windows support is not planned. You can make a fork and do Windows support yourself.