Installing PHP from OpenBSD's ports can be a complete and utter pain in the ass sometimes: Most often FLAVOR=no_x11 doesn't trickle down and as useful as BerkelyDB can be, Tcl is a dark, demented beast best left for dead and has no place on my servers. So, to make life easy, or even just so I have a copy somewhere I can find easily, here's a quick guide to getting the latest and greatest PHP (currently 5.2.6) to compile on OpenBSD (currently 4.4) with all the useful patches and using ports as much as possible.
Continue Reading