Entry
In my Danish version of Win2k I have to write echo 1,2 * 3,4; instead of echo 1.2 * 3.4; -> problems porting. changing language doesnt help. Solution?
Oct 16th, 2003 18:31
Matthias Bauer, Mikkel Erup,
Set the environment variables LC_ALL and LANG to English (en_EN) before
starting Apache. The PHP parser will then load with English locale
settings and use the period as floating point sign.
You can then set the language appropriately in your scripts.
However, be cautious when setting LC_ALL, because the change might
affect the PHP parser itself. Try using LC_MESSAGES, LC_TIME and
LC_NUMERIC instead.