Code Monkey home page Code Monkey logo

workerman-for-win's Introduction

workerman-for-win

workerman-for-win

环境要求

(php>=5.3.3)

运行

运行一个文件
php your_file.php

同时运行多个文件
php your_file.php your_file2.php ...

与Linux多进程版本的区别

1、单进程,也就是说count属性无效
2、由于php在win下无法fork进程,Applications/YourApp/start.php被拆成多个子启动项,如start_web.php start_gateway.php等,每个文件自动启动一个进程运行
3、由于php在win下不支持信号,所以无法使用reload、status、restart、stop命令,也没有start命令

手册

开发与Linux版本基本无差别,可以直接参考Linux版本手册
http://doc3.workerman.net/

说明

此版本可用于windows下开发使用,不建议用在生产环境

移植

windows到Linux(需要Linux的Workerman版本3.1.0及以上)

可以直接将Applications下的应用目录拷贝到Linux版本的Applications下直接运行

Linux到windows

Linux下的应用需要将Applications/YourApp/start.php拆成多个启动项

workerman-for-win's People

Contributors

walkor avatar hello2t avatar shuiguang avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.