pecl install cassandra
produces an error:
configure: error: Unable to load libcassandra
ERROR: `/tmp/pear/temp/cassandra/configure' failed
This error message is subject of another question here on SO, but has not been resolved: Installing php datastax driver on ubuntu
Can anybody help?
For ubuntu 14.04: Installation steps are:
For the Docker's official PHP machine:
Then restart the container (
docker-compose restart ~~image~fpm~~
).for cantos Casandra 2.4.3 was deprecated, I updated perivious post:
I tried installing cassandra driver for php on Ubuntu 14.04.1 LTS for PHP 5.5.9 using php-driver and cpp-driver as follows,
and then,
But got an error,
after coping,
again got another one,
After doing lot of research, I got following simple solution,
Then just copy and enable extension,
For CentOS 7. Installation steps are:
This works for me on Debian Jessie