We recommend that passports should have at least six months' validity upon arrival in UK. Non-EU passport holders should check with their local embassy before travelling to UK, as visas may be required for some countries.
Few things are more calculated to ruin a good holiday than having diplomatic problems and the best advice we can offer is to make absolutely certain that all possible contingencies have been covered before you leave home. You are not James Bond (are you?).