Hammer65 wrote:I'm a developer, I don't have a lot of time on my hands and compiling new PHP versions with new extensions and typing out endless strings of "with-xxx" isn't always a good use of my time. Why do you think so many people are moving to Ruby and Rails these days.
I surely hope you're not typing out your configure statement every time you rebuild.
That's why they invented shell scripts. Put your configure statement in one. Run it many many times, even when new versions are released. Want to change something? Change just that part of the configure script, and then rebuild your little heart out.
For added flavor, throw the make and even the make install command into the shell script. Have system-installed copies of PHP you want to mask (ahem OS X), put whatever hiding/moving/masking commands you need in as well.
When I build, I rarely have to do more than a quick "./build-php.sh", then type my password at the make install phase. Done, easy as pie.
It's really quite trivial, and you only need to really mod it once every major release.
Also, if you're not aware... you can build most PHP extensions as dynamic modules, and disable/enable them via php.ini, no need to rebuild. Something you may want to look into as an alternative to the rebuild hokey-pokey.