summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index c02a34c843..ee98cb1a7b 100644
--- a/main/main.c
+++ b/main/main.c
@@ -863,7 +863,7 @@ int php_module_startup(sapi_module_struct *sf)
PG(connection_status) = PHP_CONNECTION_NORMAL;
#if HAVE_SETLOCALE
- setlocale(LC_ALL, "");
+ setlocale(LC_CTYPE, "");
#endif
#ifdef PHP_WIN32