metarsalgia and hip and knee pain, gave up exercise gained weight... still have pain

Options
I used to love running (I was rubbish at it or having something to train for. Then I got this walking on stones feeling in my feet, I already had some hip and knee pain. I had physio and they said give up exercise and try phsio. Now I'm fatter with metarsalgia and knee pain. Anyone else carried on exercising anyway... so fed up, I'm 40 but feel 100!