/**
* @author Happyliu<[email protected]>
* Program code please visit: http://down.51cto.com/data/2013151
*/
======= Program Description ==============================================
This program is rewritten by Workerman-chat;
Workerman version: 3.0.7
thinkphp version: 3.2.3
======= Server Environment ============================================
1. Ability to run the Workerman framework
2. Support Redis extension in PHP-CLI mode
======== Installation Instructions =============================================
Upload to the Linux Server Web directory to access the front-end test via a URL address
http://xxxx/index.php
Run the back-end framework:
./wmchat/php start.php Start
======== How to use =============================================
Use thinkphp in event.php or in other businesses
R (' Home/index/index '); Transfer parameters See TP manual R method
Using Redis in event.php or other business
Redisdb::instance (' Redis ')->get (' key ');
This article is from the "happy Programming _ Endless" blog, please be sure to keep this source http://happyliu.blog.51cto.com/501986/1626528
Workerman3.0.7 integration of Redis and ThinkPHP3.2.3