1
votes

I am using WAMP with php v5.5.12.
Trying to install datastax php driver(https://github.com/datastax/php-driver).
1. I take the compiled dll file from here and put it in /ext folder
2. Add the extention=php_cassandra.dll to php.ini
3. Restarting WAMP server

I get this error in wamp php error log:

[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.

Also installed Pear package, but there are no changes.
Does anyone here experience with cassandra new driver on windows?
What can be the problem?

2
Typo: extention=php_cassandra.dllextension=php_cassandra.dll - Cœur

2 Answers

1
votes

You will need to use the Thread Safe version (TS) and of course the one for PHP5.5. Also you need to use the x86 if you WAMPServer is the 32 bit and the x64 if WAMPServer is the 64bit version

That dll should be place into the \wamp\bin\php\php5.5.12\ext folder

1
votes

I could not either make the .dll found on the pecl php site work. Same error.

But the .dll found here works!

http://downloads.datastax.com/php-driver/windows/cassandra/