Added PHP version check to Session.