I've a Debian server that acts as web server. Recently I've needed to install the MsSQL module to use a Microsft SQL Server as source, but after install it I've noticed that php round function has changed the decimal separator from point to comma, and that breaks some scripts. Maybe other functions are affected too, but I've only noticed the problem with round function.
Just after disable the module it starts to works fine again.
# php -r 'echo round(85.20, 1);' 85,2
# php -r 'echo round(85.20, 1);' 85.2
I've installed the latest modules using pecl and I've enabled the module using conf files:
; -configuration for php mssql module ; priority=20 extension=sqlsrv.so ; -configuration for php mssql module ; priority=20 extension=pdo_sqlsrv.so
After some searchs on google I'm not able to find the way to fix the problem, and server locales are all right. Someone says to replace the points by comma and vice versa, but search all round functions on the entire webpage and add "replace" functions is not the best way.
Someone know a way to fix this problem?