Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yar和 msgpack都已经安装,但使用yar client调用外部yar接口报错:unsupported packager 'MSGPACK' #113

Open
supergql opened this issue Sep 19, 2017 · 4 comments

Comments

@supergql
Copy link

yar版本:1.2.5
yar.packager msgpack

msgpack 版本:0.5.5

phpinfo()线上yar和msgpack都正常安装,但使用yar的client调用外部的yar接口时报错:

@boxunsoft
Copy link

boxunsoft commented Dec 7, 2017

同样遇到这个问题,请问楼主解决了吗?

@liubang
Copy link
Contributor

liubang commented Dec 19, 2017

@supergql 文档中有明确的说明,按照文档安装应该不会有问题,要注意编译yar的时候开启--enable-msgpack选项
image

@laruence
Copy link
Owner

laruence commented Jan 8, 2018

这个错误是服务端报告的还是客户端, 要注意的是如果你要用msgpack, 客户端和服务端都要支持

@boxunsoft
Copy link

我的解决了,是因为安装的版本的问题。php + yar + msgpack的版本对应。有这个问题的,建议装下yar + msgpack不同版本试试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants