PHP setlocale() in Slackware

Posted by in Hosting

In order to get the PHP function setlocale() to work in Slackware you need some libraries installed:

glibc
glibc-i18n

I’m using Slackware 14.1 (64bit), sooo:

# wget ftp://ftp.slackware.no/slackware/slackware64-14.1/patches/packages/glibc-i18n-2.17-x86_64-11_slack14.1.txz
# wget ftp://ftp.slackware.no/slackware/slackware64-14.1/patches/packages/glibc-2.17-x86_64-11_slack14.1.txz
# installpkg glibc-2.17-x86_64-11_slack14.1.txz
# installpkg glibc-i18n-2.17-x86_64-11_slack14.1.txz