Fix locales warning on Debian or Ubuntu
Saturday, August 23rd, 2008Sometimes you get the following warning when running commands in Debian / Ubuntu powered computers
==============
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8″
are supported and installed on your system.
perl: warning: Falling back to the standard locale (”C”).
===============
To fix this run the following command as root
root@php-server:~# apt-get [...]