The only way to install
Apache::Session::DBI is to install
old version of
Apache::Session. Maybe your installation is just screwed because you have installed old
Apache::Session over new? And those tutorials are outdated: if you want to store sessions in MySQL you should use
Apache::Session::MySQL (other databases are supported with other
Apache::Session modules).
Your code for Apache::Session::MySQL looks ok (assuming that you have use Apache::Session::MySQL).
--
Ilya Martynov
(http://martynov.org/)