--- title: "Non-System Locale Settings | Microsoft Docs" ms.custom: "" ms.date: "01/31/2020" ms.prod: sql ms.prod_service: connectivity ms.technology: connectivity ms.topic: conceptual helpviewer_keywords: - "locale, linux, macOS, system" author: "yitam" ms.author: "v-yitam" manager: v-mabarw --- # Non-System Locale Settings [!INCLUDE[Driver_PHP_Download](../../includes/driver_php_download.md)] This section only applies to Linux and macOS users, in particular those who deal with more than one locale in their php applications. By default, [!INCLUDE[ssDriverPHP](../../includes/ssdriverphp_md.md)] takes the `LC_ALL` environment variable defined in the system and overrides all other `LC_xxx` categories (perhaps except `$LANG` or `$LANGUAGE` under some circumstances), affecting the thousands separator, decimal point character, character set, month, day names, application messages like error messages, currency symbol, etc. Starting with version 5.8.0, users may configure the localization settings using the php.ini file, as shown in the examples below. ## Set locale info using the SQLSRV Driver Add the following at the end of your php.ini file: ``` [sqlsrv] sqlsrv.SetLocaleInfo =