I have an value that I grabbed from a database that I want to convert to US money format. On my test server (PHP 4.3.3) I have the following:

setlocale(LC_ALL, 'en_US');
$value= money_format('%(.0n', $value);

The output is like this: $180,000

But when I upload the script to the production server (PHP 4.3.8), the output looks like all numbers, no formating: 180000

Does someone have any idea what's going on?