摘要: 代码如下: public function index() { $msectime = $this->getMsecTime(); $mescdate = $this->getMsecToMescdate($msectime); $msectime2 = $this->getDateToMesc($ 阅读全文
posted @ 2020-05-26 16:47 八戒vs 阅读(6942) 评论(0) 推荐(0) 编辑
摘要: 1,安装rabbitmq-c 下载地址:https://github.com/alanxz/rabbitmq-c/releases wget -c https://github.com/alanxz/rabbitmq-c/releases/download/v0.8.0/rabbitmq-c-0.8 阅读全文
posted @ 2020-05-26 16:27 八戒vs 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 场景介绍,tp6项目使用rabbitMq时候,composer安装AMQP,报错如图: 错误信息:the requested PHP extension sockets is missing fr om your system 很明显,因为你没有sockets这个扩展,解决办法: 1,打开php.i 阅读全文
posted @ 2020-05-26 16:20 八戒vs 阅读(796) 评论(0) 推荐(0) 编辑
摘要: 因为RabbitMQ是由erlang语言实现的,所以先要安装erlang环境 erlang 下载安装 http://www.erlang.org/download.html rabbitmq 下载安装 https://www.rabbitmq.com/install-windows.html php 阅读全文
posted @ 2020-05-26 15:33 八戒vs 阅读(530) 评论(0) 推荐(0) 编辑