Equivalent of PHP setlocale in an APACHE config file
- by Nicolas
I need to display a date in french locale.
A solution is to use setlocale(LC_TIME, 'fr_FR');
But I'm looking to set the locale directly in the configuration of my apache server.
In the /etc/httpd/conf/httpd.conf file, I tried
<VirtualHost *:80>
...
SetEnv LC_TIME 'fr_FR'
</VirtualHost>
without any effect.
In which php or apache configuration file should I define the LC_TIME variable?