马上又到年底了,红包圈钱必备源码,该懂的都懂

一.搭建坏境
1.linux宝塔面板
2.nginx1.6
3.mysql5.6
4.php7.2

二.站点设置
1.站点
2.绑定目录 public
3.伪静态 thinkphp
4.php安装扩展 fileinfo rdi
关闭防跨站

三.数据库设置

1.替换你的数据库信息 simplewind/GatewayWorker/Applications/YourApp/Config

2.替换你的数据库信息 data/conf/database.php

四.导入数据库

五.后台填写推广域名和游戏域名
七.禁用函数建议全部删除

1.文件/www/server/php/72/etc/php.ini

2.替换方法为disable_functions替换代码

passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_waitpid,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv

八:启动游戏

启动命令  php /www/wwwroot/www.baidu.com/simplewind/GatewayWorker/start.php start -d

清理脚本

mysql -uxs -pxs -Dxs -AB -e “truncate table cmf_newopen;”

mysql -uxs -pxs -Dxs -AB -e “truncate table cmf_neworders;”

mysql -uxs -pxs -Dxs -AB -e “truncate table cmf_newloding;”
后台域名+admin
账号admin  密码123456

1603547862-d9bea383022129d.jpg

1603547825-89efd151e888fcd.jpg
1603547800-42fdd62227e44c8.jpg

    声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。