WAMP and pcntl_fork

后端 未结 3 1378
情歌与酒
情歌与酒 2020-12-31 22:03

Is there a way to make pcntl_fork work in WAMP? I need to develop a forking solution and test it locally.

3条回答
  •  滥情空心
    2020-12-31 22:26

    This has already been answered but I thought I would add my 2p.

    You can have pcntl-fork with php in windows using cygwin.

    It's a real pain to install, but if like me you just want a php cli script to run, it's your best bet.

    I got instructions from here:

提交回复
热议问题