22 Star 245 Fork 88

skin / thinkphp5-layui-GatewayWorker开源多客服系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
start.php 695 Bytes
一键复制 编辑 原始数据 按行查看 历史
skin 提交于 2019-03-20 18:44 . 上传源码
<?php
/**
* workerman + GatewayWorker
* 此文件只能在Linux运行
* run with command
* php start.php start
*/
ini_set('display_errors', 'on');
if(strpos(strtolower(PHP_OS), 'win') === 0)
{
exit("start.php not support windows.\n");
}
//检查扩展
if(!extension_loaded('pcntl'))
{
exit("Please install pcntl extension. See http://doc3.workerman.net/appendices/install-extension.html\n");
}
if(!extension_loaded('posix'))
{
exit("Please install posix extension. See http://doc3.workerman.net/appendices/install-extension.html\n");
}
define('APP_PATH', __DIR__ . '/application/');
define('BIND_MODULE','chat/Gate');
// 加载框架引导文件
require __DIR__ . '/thinkphp/start.php';
PHP
1
https://gitee.com/yuhen/chat.git
git@gitee.com:yuhen/chat.git
yuhen
chat
thinkphp5-layui-GatewayWorker开源多客服系统
master

搜索帮助