Installing php datastax driver on ubuntu(在 ubuntu 上安装 php datastax 驱动)
问题描述
我正在尝试为 Cassandra 安装 datastax php 驱动程序,当我运行以下命令时:
I am trying to install the datastax php driver for Cassandra and when i run the following command:
pecl install ext/package.xml
从 git 中检查出来后,我收到以下消息:
after checking it out of git i get the following message:
configure: error: Unable to load libcassandra
ERROR: `/tmp/pear/temp/cassandra/configure' failed
任何人都可以指出我正确的方向以成功安装此驱动程序吗?
Can anyone point me in the right direction in order to successfully install this driver please?
我使用的 cassandra 版本是 2.1.8,所以可能驱动程序尚未更新以连接到最新版本的 cassandra.
version of cassandra i am using is 2.1.8 so maybe the driver has not been updated to connect to the latest version of cassandra.
推荐答案
这已经解决了在 phpinfo() 中没有引用不正确的 php.ini 的问题.
This has been resolved there was an issue with the incorrect php.ini not being referenced in phpinfo().
这篇关于在 ubuntu 上安装 php datastax 驱动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 ubuntu 上安装 php datastax 驱动
基础教程推荐
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 如何替换eregi() 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
