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 驱动


基础教程推荐
- Doctrine 2 - 在多对多关系中记录更改 2022-01-01
- phpmyadmin 错误“#1062 - 密钥 1 的重复条目‘1’" 2022-01-01
- 如何在 Symfony 和 Doctrine 中实现多对多和一对多? 2022-01-01
- 在 yii2 中迁移时出现异常“找不到驱动程序" 2022-01-01
- 找不到类“AppHttpControllersDB",我也无法使用新模型 2022-01-01
- PHP 守护进程/worker 环境 2022-01-01
- 如何在 XAMPP 上启用 mysqli? 2021-01-01
- 使用 PDO 转义列名 2021-01-01
- HTTP 与 FTP 上传 2021-01-01
- 在 CakePHP 2.0 中使用 Html Helper 时未定义的变量 2021-01-01