ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
视频教程:[https://crmeb.ke.qq.com/](https://crmeb.ke.qq.com/) **mac系统 swoole_loder下载地址:** [点击下载](https://pan.baidu.com/s/1og772n-lrlA9Cq9xuSJT7A) **密码:d68h** 1.下载保存源码压缩包至本地电脑。 ![](https://img.kancloud.cn/7a/eb/7aeb9980a73b7e612cbdfc400d8965ef_118x144.png) 2.进入宝塔面板,选择左侧菜单**网站** ![](https://img.kancloud.cn/a9/10/a91007cc9cdda167bd62e4cb0222961b_1891x399.png) 3.点击上一步中新建的站点**根目录**,进入系统 ![](https://img.kancloud.cn/85/13/85137b3ac62f468b65aee57a859c389b_764x380.png) 4.点击左上角**上传** ![](https://img.kancloud.cn/e2/a6/e2a6380a7a54c046dd333256776b9bde_627x458.png) 5.点击**添加文件**,*选择本地电脑CRMEB源码压缩包*,然后点击**开始上传** ![](https://img.kancloud.cn/93/e9/93e9291c51f7d2ab565ea7f975e96718_525x520.png) 6.等待**上传完成**,关闭对话框 ![](https://img.kancloud.cn/a9/ed/a9edf318d82d2858f02e304cc16ea95f_497x186.png) 7.**解压**CRMEB源码压缩包 ![](https://img.kancloud.cn/3f/8f/3f8fcffdc2c0447737434008165e7bc3_511x303.png) ### **8. 宝塔环境安装 swoole-loader** **在源码安装包`help/swoole-loader`目录找到对应 php 版本的 swoole-loader文件,复制。例如PHP版本为7.3,则复制swoole\_loader73.so** ![](https://img.kancloud.cn/70/9d/709d63026f08b8b8745c7f1b219e72f7_3306x1068.png) 9.粘贴到 php 的扩展目录:例如7.3的为:/www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731** ![](https://img.kancloud.cn/83/e8/83e8755356f4ebed84ab59fe7736f572_2918x1198.png) 10.加载 swoole-loader 扩展,点击软件商店,php-7.3 设置,配置文件** ![](https://img.kancloud.cn/5f/c1/5fc1628604a346677d09d6862050c168_3272x1538.png) ![](https://img.kancloud.cn/48/14/4814904f5d0b0af021ba56b00c3bd033_1280x1190.png) 11.在文件尾部增加代码 extension = swoole\_loader73.so 然后保存。** **重载配置** ![](https://img.kancloud.cn/0f/15/0f15fc6a9cff3996e7f10064729f30c4_797x735.png) 12.返回站点列表,点击右侧**设置**->**网站目录** 设置网站运行目录为public点击保存 ![](https://img.kancloud.cn/b0/17/b017706003fc41d148a07eae3ad659f2_1307x643.png) 13.点击右侧**设置**->**伪静态**设置伪静态,选择下拉框中的**thinkphp**点击保存生成配置。 ![](https://img.kancloud.cn/c7/6e/c76e673f42ee9f328eb40a11ba3a0f74_1304x648.png)