So I have spent the best part of the day trying (and failing) to get the php driver for apache cassandra to install on my server (CentOS 7).
After a lot of mucking about and a few grey hairs i have finally got the driver to install but unfortunately it doesnt actually load.
In my apache Error log i get
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/cassandra.so' - libcassandra.so.2: cannot open shared object file: No such file or directory in Unknown on line 0
I have checked and the libcassandra.so.2 file does indeed exist in /usr/local/lib64/libcassandra.
Has anyone come across a similar ptoblem? Any help would be appreciated.
Im Running CentOS 7 and PHP 5.4.16 and Apache 2.4.6
Thanks Matt.
the problem i was having was that libcassandra was installed into /usr/local/lib64 not /usr/lib64
a simple ln -s /usr/local/lib64/libcassandra.so.2 /usr/lib64/libcassandra.so.2 command fixed the problem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With