21st Century Digital Boy

April 23, 2008

Dumb PHP trick du jour

Filed under: PHP — Tags: , — 21cdb @ 11:21 am

I needed to rebuild PHP to add SOAP support. (Side note: when will it be reasonable to add functionality w/o rebuilding the core binary, like, oh, every other language in the world?)

Obviously I want to preserve build options, and just tack on a new one. So:


# php -i | grep “Configure Command” | sed -e ’s/Configure Command => //’ -e “s/’//g”

Just just a flick of the mouse, add my new option, and endlessly whine that PHP makes me rebuild the binary eleventy million times a month.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Blog at WordPress.com.