【发布时间】:2017-11-04 05:32:46
【问题描述】:
根据我所做的研究,https://github.com/datastax/php-driver/ 似乎是将 Cassandra 与 PHP 结合使用的最佳选择。
但是当我尝试安装它时,我得到了错误:pecl/cassandra requires PHP (version >= 5.6.0, version <= 7.0.99), installed version is 7.1.4-1+deb.sury.org~trusty+1
我尝试安装https://github.com/aparkhomenko/php-cassandra,但没有成功,出现以下错误:warning: Could not find remote branch deprecated to clone.
fatal: Remote branch deprecated not found in upstream origin
Unexpected end of command stream
我尝试了http://evseevnn.github.io/php-cassandra-binary/,但似乎不支持 Cassandra 3.1
有没有办法在 PHP 7.1 中使用 Cassandra?如有必要,我愿意回到 PHP 7.0.x,但我想尽可能避免这样做。
感谢任何可以提供帮助的人
【问题讨论】: