du77887 2011-08-29 01:26
浏览 79

找不到类'cassandra_ColumnPath'

i follow step by step installation which can be find https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP on Centos 5.6 machine and i got this error in apache log

[Fri Aug 26 14:20:20 2011] [error] [client 192.168.1.67] PHP Fatal error: Class 'cassandra_ColumnPath' not found in /var/www/html/test.php on line 29

anyone have any ideas?

PHP 5.2.10 (cli) (built: Nov 13 2009 11:44:05) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

apache-cassandra-0.8.4

thrift-0.7.0

  • 写回答

1条回答 默认 最新

  • dpc57092 2011-08-30 03:39
    关注

    As the bottom of that post suggests, you really need to use a high-level client that builds on top of what Thrift generates. Otherwise, it's a slow and painful process.

    I recommend looking at:

    • phpcassa (Disclosure: I maintain this library)
    • SimpleCassie (I can't vouch for how well it works, but it seems fine.)

    Both of these libraries bundle the Thrift generated code, so you don't even have to worry about setting that part up.

    评论

报告相同问题?

悬赏问题

  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算