3
我如何确保PHP使用TBinaryProtocolAccelerated
而不是TBinaryProtocol
作为协议?我如何确保PHP使用TBinaryProtocolAccelerated
我在Ubuntu Server中使用PHP5。
我如何确保PHP使用TBinaryProtocolAccelerated
而不是TBinaryProtocol
作为协议?我如何确保PHP使用TBinaryProtocolAccelerated
我在Ubuntu Server中使用PHP5。
TBinaryProtocolAccelerated和TBinaryProtocol是特定于Thrift的,而不是PHP本身。
看看https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP。你需要做的是使用TBinaryProtocolAccelerated类而不是TBinaryProtocol。
希望这会有所帮助。