Praying While In Physical Pain

Responsa Radio #31
There are certain times during prayer when one has to stand in a particular way. What happens if I'm in pain and can't stand that way? What should I do? How do we balance the values of everyone doing the same thing or letting everybody do the action that is most comfortable for them?