I have an issue with setlocale() in PHP when using functions such as money_format().
In my localhost, such functions only work if my setlocale() value is en_GB. However, on my live server the same functions will only work if setlocale() is set to en_GB.UTF8.
So my question is: what causes the different requirements? As presently my configuration file has a dirty if/else statement to find what server it’s being ran on and dynamically specifies the setlocale() value.
what is the php version is there a diference ? diferent os ?
you can use this just change euro to what you need for money