Package: phpmyadmin
Version: 2.9.1.1-3
if you run phpmyadmin with php5 configured to use memcached as the
session store (using php5-memcache v2.1.2-1), then phpmyadmin whinges
about "no such file..." when attempting to fetch or write session data.
obviously, this prevents logging in. and any other use of the program.
Warning: Unknown:
open(tcp://192.168.128.1:11211,tcp://192.168.128.2:11211/sess_otXsVICkJ2apWIUbCmHReleVhDf,
O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify
that the current setting of session.save_path is correct
(tcp://192.168.128.1:11211,tcp://192.168.128.2:11211) in Unknown on line 0
an ugly hack workaround is to edit
/usr/share/phpmyadmin/libraries/common.lib.php and add the following
lines immediately after the initial block of comments.
// set sessions back to file-based because it is
// hard-coded it to only work with file-based sessions
ini_set('session.save_handler' , "files");
ini_set('session.save_path' , "/var/lib/php5");
but the correct fix is for phpmyadmin not to make bone-headed
assumptions about how session handling is done - after all, anyone using
php and mysql is likely to want to store their sessions in mysql rather
than files because file-based sessions suck performance-wise, and for
any number of other reasons.
craig
--
Craig Sanders <[EMAIL PROTECTED]>
Systems Administrator
School of Chemistry
University of Melbourne
Ph: +61 3 8344-7309
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]