php-redis-migrate-sessions
php-redis-migrate-sessions copied to clipboard
Migrate PHP sessions from disk to redis using mass insertion protocol
Thank you for providing this solution; it was very helpful. I made several improvements, and documented them in the CHANGELOG file.
There were two problems for me that I fixed in this version: - counting the length of the session string was done before escaping, so it did not count all...
I was having some problems running this script - I would get various errors back from redis that seemed to suggest that the line length specified for the data line...
I run into a problem with this line of code: tmp_dir=`mktemp -d` Apparently this is not the proper usage of the command, as it is missing a "template parameter" SYNOPSIS...