Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6564689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:59:54+00:00 2026-05-25T13:59:54+00:00

I have setup a Cassandra instance 0.7 in my Windows 7 machine (64bit) .

  • 0

I have setup a Cassandra instance 0.7 in my Windows 7 machine (64bit) .

The cassandra server is up and running and it is successfully listening to thrift clients. I have tested the instance by successfully creating my own sample keyspace and column family .

Now , I have to connect to this Cassandra instance from my PHP script . I tried using thobbs\phpcassa .

Here I ran into trouble . In the installation it’s mentioned the steps for ‘make,build’ for UNIX/Linux system but nothing is mentioned for Windows .

Knowing not what to do next , I tried to copy the phpcassa folder inside my htdocs folder (of apache) and created a test file cassandra_test.php with the following content:

<?php
ini_set('display_errors',1);
require_once('phpcassa/connection.php');
require_once('phpcassa/columnfamily.php');

$servers = array("localhost:9160");
$pool = new ConnectionPool("demo", $servers);

$column_family = new ColumnFamily($pool, 'user');


?>

demo is the sample keyspace that I have created from the command prompt . Also , I have created a sample column_family user in my demo keyspace.

Executing this script in my browser gives me the following exception:

Fatal error: Uncaught exception 'cassandra_NotFoundException' in C:\Program Files   (x86)\Apache Software Foundation\Apache2.2\htdocs\phpcassa\columnfamily.php:198 
Stack trace: #0 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\cassandra_test.php(10): 
ColumnFamily->__construct(Object(ConnectionPool), 'user') #1 {main} thrown in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\phpcassa\columnfamily.php
on line 198 

I think phpcassa can’t find my local cassandra instance . How to check that ?

Also

$pool = new ConnectionPool("demo", $servers);

didn’t gave any error/warning . So , I am entirely not sure what’s the root cause for this exception?
I am a newbie for cassandra and PHPcassa .Really sorry if this problem sounded pretty trivial.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:59:54+00:00Added an answer on May 25, 2026 at 1:59 pm

    This Exception indicates that it was able to connect to your Cassandra instance (probably without any problems), but that the ColumnFamily “user” in the keyspace “demo” does not exist.

    Try starting cassandra-cli and verify that “show keyspaces;” lists the column family inside the correct keyspace. Also be aware that names are case-sensitive here, if that makes a difference.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have setup web dav on windows server 2008. It seems to work fine
I have a client / server setup for Cassandra that works when accessed via
I have managed to set up Cassandra + Thrift and the Python wrapper for
I have setup a git repository in a linux server, and installed the latest
I have setup a new server and copyed my website on to it and
I have setup an SVN server on my hosting account. Users can check in
I have setup a postfix mail receiving server. On this I am using DKIM
I have setup all the things for Windows Azure and Drupal. But, when I
I have setup a linked server pointing to an Oracle DB. I want to
I have setup a WCF service that i am running on IIS 7 that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.