Perl dependencies:

Apache::Session

Under Debian:

aptitude install libapache-session-perl

then install Net::Cassandra or Redis from CPAN.