Ai
3 Star 0 Fork 0

positvmans/socket

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
start.php 476 Bytes
一键复制 编辑 原始数据 按行查看 历史
positvmans 提交于 2017-05-23 19:14 +08:00 . socket
<?php
/**
* run with command
* php start.php start
*/
use Workerman\Worker;
// composer 的 autoload 文件
include __DIR__ . '/vendor/autoload.php';
if(strpos(strtolower(PHP_OS), 'win') === 0)
{
exit("start.php not support windows, please use start_for_win.bat\n");
}
// 标记是全局启动
define('GLOBAL_START', 1);
// 加载IO 和 Web
require_once __DIR__ . '/start_io.php';
//require_once __DIR__ . '/start_web.php';
// 运行所有服务
Worker::runAll();
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/project_fwf/socket.git
git@gitee.com:project_fwf/socket.git
project_fwf
socket
socket
master

搜索帮助