• Upgraded to PHP5 on Gentoo

    Yup I just upgraded from PHP4.3.8 to PHP5.0.1 on the Gentoo VPS hosting this weblog. It went rather smoothly, except for an oversight where I actually forgot to compile PHP with session support (and had to re-compile it). Just unmerge the existing PHP and mod_php packages, and emerge them again from ebuilds.

    emerge unmerge php mod_php
    emerge -pv /usr/portage/dev-php/php/php-5.0.1.ebuild
    USE="curl session mysql postgres zlib ldap" emerge -v /usr/portage/dev-php/php/php-5.0.1.ebuild
    emerge -pv /usr/portage/dev-php/mod_php/mod_php-5.0.1.ebuild
    USE="curl session mysql postgres zlib ldap" emerge -v /usr/portage/dev-php/mod_php/mod_php-5.0.1.ebuild

    No configuration needed beyond commenting out the LoadModule directive (for PHP4) in the Apache configuration file and changing the Apache startup options (in /etc/conf.d/apache2):

    #APACHE2_OPTS="-D SSL -D PHP4"
    APACHE2_OPTS="-D SSL -D PHP5"

    A restart of Apache2 is all that's left.

    I'm not sure if I left any essential stuff out in the USE flags (which roughly translates into configure options) I used so if anyone would be so kind to skim through my phpinfo() and let me know, I'd be grateful and will be sure to return the favor. Some of the USE flags/configure options are pretty self-explanatory but I have no idea what the rest really do. What does excluding the truetype flag mean? Does it mean I don't get TrueType font support when dynamically generating images (with gd)? What about the pcre flag? If I don't compile with pcre, does that mean no preg_* functions for me? Point me to an explanatory page please (I have been looking).

  • Mozilla in front in Google

    Mozilla.org is on top when you Google for browser and 1. How neat is that? (Not that anybody's going to search for "1", but "browser" is pretty good.) Via Anne van Kesteren.

  • Line of the month

    If you want to destroy my sweater
    Hold this thread as I walk away

    From Undone - the sweater song. That's one of the most loaded/quirky/semi-humorous lines I've heard in a while.

    Anyway, AudioScrobbler tells me I'm listening to too much Weezer Weezer quite a bit (though AudioScrobbler erased my music entries once before so that's hardly an accurate list). It also tells me:

    Your plugin reported a submission error: Your plugin (itw version 0.0.4) is banned. Please contact the plugin author for an updated version

    Any idea what that is or anyone have the same error? I'm using the iTunes plugin - what else?

    This is because the iTunes plugin is making multiple submissions while iTunes is paused. See the relevant thread here. You can grab the latest plugin from http://www.xurble.org/iScrobblerWin_0_0_5.exe - it's not yet official, but it works. (Thanks Suman!)

    (Wondering what AudioScrobbler is? Go read the AudioScrobbler Help page.)

  • What does it take to get on Planet Mozilla?

    Which one of those should one read/subscribe to, what's the difference, and what's the criteria for getting onto Planet Mozilla?

    (Before you start to wonder whether these are angsty/whiny questions, let me say that they are not.)

  • To Matt Gough

    To Matt Gough, the guy I've been trying to contact and send a Gmail invite to:

    I've been trying to tell you that the Gmail invites that I've sent to you don't seem to get through (nor do my emails from my Gmail account, apparently). I'd sent you one before and one just today. Let me know if you don't see them (then I can just pass you the signup link).

    Figured this was the best way to get your attention when I tried, in vain, to post a comment on your weblog (it says "registration is required" and I couldn't find a registration link - what is that? TypeKey?).

subscribe via RSS