[英]How can I make sure PHP is using TBinaryProtocolAccelerated
How can I make sure PHP is using TBinaryProtocolAccelerated
and not TBinaryProtocol
as the protocol?如何确保 PHP 使用TBinaryProtocolAccelerated
而不是TBinaryProtocol
作为协议?
I am using PHP5 in Ubuntu Server.我在 Ubuntu 服务器中使用 PHP5。
TBinaryProtocolAccelerated and TBinaryProtocol are specific to Thrift, not the PHP itself. TBinaryProtocolAccelerated 和 TBinaryProtocol 特定于 Thrift,而不是 PHP 本身。
Have a look at https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP .看看https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP 。 What you need to do is use TBinaryProtocolAccelerated class instead of TBinaryProtocol.您需要做的是使用 TBinaryProtocolAccelerated class 而不是 TBinaryProtocol。
Hope this helps.希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.