How can I make sure PHP uses TBinaryProtocolAccelerated

How can I make sure what PHP is using TBinaryProtocolAccelerated, and not TBinaryProtocolas a protocol?

I am using PHP5 on an Ubuntu server.

+3
source share
1 answer

TBinaryProtocolAccelerated and TBinaryProtocol belong to Thrift, not to PHP itself.

Take a look at https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP . What you need to do is use the TBinaryProtocolAccelerated class instead of the TBinaryProtocol.

Hope this helps.

+3
source

All Articles