I have only ever set up PHP as an apache module on Linux from the Nusphere bundle available at www.nusphere.com Brilliant bundle. Can't recommend it enough as a quick way of getting a server up and going. However, I now need to recompile PHP to include support for DB3 (the BerkeleyDB version 3.2). I have already recompiled my stand-alone php binary (so that I could test out the concept I was developing - see my posts in Server Side forum if you want to know).
The question is what configure options do you recomment for a good functioning php binary. I know of the obvious ones (listed below) but what else should I include or consider including in the configure command. So far I have:
Anything else (btw, at this moment I don't need XML support - does it make any difference whether I do or don't compile things like this in?).