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:
--with-apache=/usr/local/nupshere/apache
--with-mysql=/usr/local/nusphere/mysql
--with-db3=/usr/local/BerkeleyDB.3.2
--enable-track-vars
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?).




I'm confusing things with this term binary.
However, your configuration is interesting and has been noted. Any reason for specifying --without-gd ? This is an ancient linux db format right?

Bookmarks