phpMyAdmin: detect version, more strict env pattern