When I recently went to install PHP on a server on which I did *not* want Apache, I learned that a simple, "apt-get install php5" will install Apache. A quick look at the depends, though, and the following sequence worked. Yes, I'm aware commands can be combined. I chose multiple steps.
sudo apt-get install php5-common
sudo apt-get install php5-cgi
sudo apt-get install php5 The php5-cgi package fulfills the depends that would otherwise be fulfilled by Apache. -jbn
Having gotten sick and tired of receiving error messages like this:
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"). I decided to solve the problem once and for all. We use puppet to manage machines, so this should be - and is - straight forward. /etc/puppet/modules/locales/files/locales.gen: