Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install Thrift with Solandra.

Normally when I just want to install Thrift with Cassandra, I followed this tutorial:

But how can I do the same for Solandra?

Thrift with PHP...

Using Ubuntu Server.

Thanks in advance!

share|improve this question
up vote 2 down vote accepted

I actually wrote that wiki page. :-)

So, I can interpret your question two ways:

  1. How do I build a client to have PHP access Solandra?
  2. How do I build a Cassandra Thrift client for PHP when I'm using Solandra?

For the first question, the answer is that Solandra uses HTTP for core management and Solr API access. You don't need a Thrift client (nor does Solandra support one). For an HTTP client, I recommend the cURL extension for PHP; it's included with most PHP builds these days.

For the second question, you would build the client the same way you do for normal Cassandra (as instructed on my wiki page). Just make sure you pull the same version of Cassandra that Solandra is using.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.