This little project prompted the creation of this blog.

After I suggested to some folks on the nyphptalk” list that compiling your own daemons from scratch isn’t painful so long as you maintain some scripts to do it for you, Dan Horning called my bluff.

So instead of just dumping some stuff on a server, I went all out and created a blog (since I have some other code I want to publish sooner or later, anyway).

This stuff is not a “product” of any sort.  It’s just an example for anyone interested in building their own apache/php stack from source, with openSSL, and various other goodies.  These scripts cand be a good starting place for building your own.

Point of Interest: These build scripts built the Apache and PHP binaries that are powering this blog.

NOTE: I have no idea what kind of damage this might do to your system.  Please don’t run this stuff straight out of the box on any machine that is not ready to be rebuilt from scratch.  Really, I mean it.  The best thing you could do is look at what I’ve done and build your own scripts to suit your situation.

Anyway, since it’s getting late, and I want to get this stuff published before hitting the hay, you can download the scripts by themselves here:

If there’s interest, it might be fun to actually try to productize this a bit.  My approach is pretty distro-agnostic.  For instance, I compile all this stuff into /php5web, outside of the host system’s setup.  I don’t really see other people doing this, but it’s kind of nice.  I typically run servers with 2 or more distinct stacks (various permutations of apache 1.3.x/2.0.x/2.2.x and php4.x/5.x) listening on different IPs — which is pretty handy sometimes.

One last hint: apache is kind of dumb about openssl.  You might need to add /<yourinstalldir>/openssl/lib to your /etc/ld.so.conf and then run /sbin/ldconfig if apache complains about not finding libssl.0.9.8.so or somesuch.

One Response

  1. Custom-compiled PHP with xdebug.so on OS X 10.5 | Electric Mind Control Blog Says:

    [...] compile my own AMP stack from source, so my setup is a little different than [...]

Leave a Comment




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

-->