WAMP 中的 Datastax Cassandra PHP 扩展
Datastax Cassandra PHP extension in WAMP
我在 php v5.5.12 中使用 WAMP。
正在尝试安装 datastax php 驱动程序(https://github.com/datastax/php-driver)。
1.我从here中取出编译好的dll文件,放在/ext文件夹
2. 添加extension=php_cassandra.dll到php.ini
3. 重启 WAMP 服务器
我在 wamp php 错误日志中收到此错误:
[28-Jan-2016 07:32:57 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_cassandra.dll' - The specified module could not be found.
也安装了 Pear 包,但没有任何变化。
这里有人在 windows 上体验过 cassandra 新驱动程序吗?
可能是什么问题?
您将需要使用 Thread Safe
版本 (TS),当然还有 PHP5.5 版本。如果 WAMPServer 是 32 位版本,则还需要使用 x86;如果 WAMPServer 是 64 位版本,则需要使用 x64
该 dll 应该放在 \wamp\bin\php\php5.5.12\ext
文件夹中
我无法使在 pecl php 站点上找到的 .dll 正常工作。同样的错误。
但是这里找到的 .dll 有效!
我在 php v5.5.12 中使用 WAMP。
正在尝试安装 datastax php 驱动程序(https://github.com/datastax/php-driver)。
1.我从here中取出编译好的dll文件,放在/ext文件夹
2. 添加extension=php_cassandra.dll到php.ini
3. 重启 WAMP 服务器
我在 wamp php 错误日志中收到此错误:
[28-Jan-2016 07:32:57 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_cassandra.dll' - The specified module could not be found.
也安装了 Pear 包,但没有任何变化。
这里有人在 windows 上体验过 cassandra 新驱动程序吗?
可能是什么问题?
您将需要使用 Thread Safe
版本 (TS),当然还有 PHP5.5 版本。如果 WAMPServer 是 32 位版本,则还需要使用 x86;如果 WAMPServer 是 64 位版本,则需要使用 x64
该 dll 应该放在 \wamp\bin\php\php5.5.12\ext
文件夹中
我无法使在 pecl php 站点上找到的 .dll 正常工作。同样的错误。
但是这里找到的 .dll 有效!