php-cassandra | PHP extension for original DataStax C
kandi X-RAY | php-cassandra Summary
kandi X-RAY | php-cassandra Summary
php-cassandra - PHP Driver/Extension For Apache Cassandra (alpha).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of php-cassandra
php-cassandra Key Features
php-cassandra Examples and Code Snippets
Community Discussions
Trending Discussions on php-cassandra
QUESTION
I'm setting up square api, integrated it in client side and now working on server side but for that i need to manage dependencies with composer
, while installing composer I got above error.
I was installing composer, when i run composer install
, composer was installed but I got the PHP warning in addition i.e
PHP Warning: PHP Startup: Unable to load dynamic library 'cassandra.so' (tried: /usr/lib/php/20170718/cassandra.so (/usr/lib/php/20170718/cassandra.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/cassandra.so.so (/usr/lib/php/20170718/cassandra.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
I googled and tried all the solutions that have already been done, but none worked to mine. I have tried:
- To find out cassandra at php.ini in /etc/php/7.2/cli but i did't find it.
- To install Cassandra by using command
sudo apt-get install php-cassandra
in/usr/lib/php/20170718
, but it still shows the same error. - Update and upgrade the Ubuntu, to make sure that there are no internal errors, if there was any?
I expect to install cassandra and load it dynamically.
...ANSWER
Answered 2019-Apr-17 at 13:54The DataStax PHP driver extension is a wrapper around the C/C++ driver and requires installation of all of its dependencies:
Since you are using the PHP driver with PHP v7.2 you will need to build the extension as their are no pre-built binaries for this version of PHP:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install php-cassandra
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page