Wine stored standing upright
A friend wasn't aware you should store wine laying on its side. (She comes from a family that doesn't drink due to their religion and lived in a dry county up until 2 years ago) She has a couple of bottles that have been stored standing upright, some longer than others. Are the bottles drinkable?
If the corks were good to begin with the wine should be fine. Temperature is far more important than humidity. I have had bottles standing upright in my 55 degree cellar in Phoenix (humidity stays at about 50%) for five or more years with no problem.
On the other hand wine stored for five years at 70-75 degrees will show marked deterioration.
Depending on how well the capsule held up, temperature under which they were stored, etc. they could be fine. If the cork has slipped down or is bulging, might not be so good. Also, you can check to see if there's much "ullage" (loss of liquid due to evaporation) taking the liquid level down below the shoulder of the bottles.
These will give you some visual clues however . . . best way to figure it out is to pop 'em open and give 'em a try. Oh, and it's never too late to lay 'em on their side if they look okay. Salud!