Howto: build and install the intl PECL extension for PHP5 in Debian

Posted by Sander_Marechal on Jul 25, 2008 1:55 AM EDT
Lone Wolves; By Sander Marechal ('s-Hertogenbosch, The Netherlands)
Mail this story
Print this story

For the past few days I have been looking for a proper i18n (internationalisation) and l10n (localisation) method for PHP. PHP has quite a few locale aware functions such as strftime and sprintf. In combination with gettext this can work quite well. The major downside is that you need to install all the locales that you want to support on your server. PHP6 is promising to solve that problem with the intl functions. Even better, the intl functions are also available as a PECL extension and works on PHP 5.2.4 and newer. There is no package (yet) for php5-intl in Debian Lenny but building and installing the extension yourself is really easy. Here's a short tutorial.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Debian, PHP

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.