HOWTO install php5-fpm on Debian Squeeze

PHP5-FPM

PHP5-FPM

Once PHP hit version 5.3, it started shipping with PHP-FPM, which is the new way to handle PHP requests when serving web content. Their site describes it as, “PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites“, but this is being pretty modest when you consider the host of improvements it brings over the old way of doing things when running PHP with an ‘alternate’ webserver such as lighttpd or nginx. So, it sounds like a slam dunk, time to remove all the handwritten fastcgi-php scripts from /etc/init.d, update PHP and go to town, right? Not so fast hot shot, in Debian Squeeze (stable) they don’t include PHP-FPM with PHP 5.3 (reasons for this tend to fall in the ‘not enough testing‘ variety), so we have to look elsewhere for a PHP with this (and other upgrades) enabled. This is exactly what the site and repo Dotdeb is there for, and they have the updated PHP 5.3 that includes the FPM module. So, to get it installed on Debian Squeeze we first have to add the repo line to sources.list

Guided by Voices announce new album with classic lineup!

Bob Pollard of Guided by Voices (Photo by Jasper Bernbaum)

Bob Pollard of Guided by Voices (Photo by Jasper Bernbaum)

Since 1993, Guided by Voices has been one of my all time favorite bands, having seen them countless times, and hanging out having beers with Bob and the band a few times, they’re unlink any other. The band’s recorded output from 1992-1996 was amazing, but their live shows from the period were magical; it was just a perfect band. But after running through many other iterations of GbV, Bob Pollard (the heart of GbV) pulled the plug on the band in 2004. Fast forward to last year, Bob got the ‘classic’ lineup back together for a handful of shows, which turned into a 1 year victory lap around the country.

HOWTO tame Apache Tomcat’s logging

Apache Tomcat

Apache Tomcat

If you’re like me, you’ve had to support Apache Tomcat for a good chunk of your IT career, and it hasn’t all been wine and roses. Typically Tomcat will work great in a development, or in a proof of concept environment, but when it comes time to put it in production and have it face some real traffic, well, you get complaints. Now, why do I have a picture of Tomcat on a messenger bag here? It’s because I would like to put Tomcat in a bag…and throw it in a river! But, since I haven’t done that (yet), I’ll talk about recently when I had some tomcat servers pumping out hundred of MGs of logfiles that weren’t being rotated quickly enough, filling up the log partition and causing alerts to go off. Now logrotate is supposed to handle things, and while it’s defaults will generally work fine, any persistant error from tomcat will make the logs quickly eat up all your space and cause you grief, so it’s best to set it up to handle them ahead of time. First take a look at:

DJ Mehdi RIP

Wow, I hate to hear about new music this way, but the influential DJ Mehdi of Paris has died at the tragically young age of 34.

DJ Mehdi

DJ Mehdi

The quick background on his short life, “Mehdi Favéris-Essadi was born in 1977 in the suburbs of Paris. He got his start as a hip-hop producer, and found his signature sound by combining the style and attitude of hip-hop with elements of electro and house. Arguably his most important break came in 2006 when he released his album Lucky Boy on Ed Banger Records, the Parisian label that would be his home for the rest of his career. Over the years he collaborated with the likes of Daft Punk, Cassius and Chromeo. His most recent project was a collaboration with Riton called Carte Blanche. DJ Mehdi is survived by his wife, the French model and artist Fafi. Our thoughts are with his friends and family at this time.”

Plains Milky Way timelapse

Awhile back I found this article on Wired, with an amazing accompanying video of a timelapse of the night sky, done over three weeks. It’s some pretty amazing footage, if marred slightly by the music…but I digress. Here it is, details from the article below.

Plains Milky Way from Randy Halverson on Vimeo.