I really can sympathize with you here, as i say I have been on ppi's for years they say i just produce too much acid, the ppi's stop that straight away and i can eat anything BUT those terrible headaches are too much for me to bear, so i have got used to taking them for short periods and in between i buy over the counter zantac, which is not as strong but it does the trick for a while, and sometimes i buy gavison double action, not just the normal gaviscon, the double action and that is also mild but will work for me for a while.
I suppose only you can decide, if you stick with the ppi's or have a go at something milder, but you really need to know if you have an ulcer or anything which needs treatment as i say my stomach has been like this for years and i have got used to coping.