1 Star 0 Fork 0

北桥苏 / simple_chat_room

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
start.php 696 Bytes
一键复制 编辑 原始数据 按行查看 历史
北桥苏 提交于 2019-02-26 17:33 . 更新 README.md
<?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','index/Gate');
// 加载框架引导文件
require __DIR__ . '/thinkphp/start.php';
PHP
1
https://gitee.com/gaoxingqufuhchao/simple_chat_room.git
git@gitee.com:gaoxingqufuhchao/simple_chat_room.git
gaoxingqufuhchao
simple_chat_room
simple_chat_room
master

搜索帮助