fixed version compare and registry write for phpMyAdmin