简体   繁体   English

如何确保 PHP 正在使用 TBinaryProtocolAccelerated

[英]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.

相关问题 如何确保使用PHP的Postgres中的DELETE SQL语句成功? - How can I make sure that DELETE SQL statement in Postgres using PHP was successfull? 如何确保始终使用 PHP 对浮点数进行四舍五入? - How can I make sure a float will always be rounded up with PHP? 如何确保我的 PHP api 只能由特定的 javascript 页面使用 - How can I make sure that my PHP api can only be used by a specific javascript page 我如何确保 mysql 查询字符串 php 中没有缺失值 - How Can I make sure there is no missing Value in mysql query string php 如何通过php访问Python会话,以确保用户已通过身份验证并登录? - How can I access Python session by php to make sure that the user is authenticated and logged in? 在PHP中,如何确保将目录作为Web上的公共读取访问? - Within PHP, how can I make sure a directory as public read access from the web? 如何确保我不会通过php中的测试站点向客户发送任何电子邮件 - How can I make sure that I don't send any email to customers from testing site in php 当我需要它们时,如何确保我的PHP会话变量在那里? - How can I make sure my PHP session variables are there when I need them? 如何确定PHP json_encode将对我从数据库读取的任何数据进行编码? - How can I make sure PHP json_encode will encode whatever data I read from the db? 我怎样才能确保我在某个时间在PHP中发生某些事情,并且它发生在每个人的时区? - How can i make sure i make something happen in php at a certain time, and it happens at that time for everyone's time zone?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM