summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-08-14 00:44:19 +0200
committerAnatol Belski <ab@php.net>2017-08-14 00:44:19 +0200
commit3069ad8dd1400f19a28230d3028048a27d07ce8d (patch)
tree7759d0c0a9d38daa8442c037cbef288f7f11513e /Zend/zend.c
parent207105b1a3844cf4d3fd5f17e17ddbd6804e1938 (diff)
downloadphp-git-3069ad8dd1400f19a28230d3028048a27d07ce8d.tar.gz
Fixed bug #75063
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index 282ad018db..dbda709198 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -660,6 +660,10 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions) /
extern zend_php_scanner_globals language_scanner_globals;
#endif
+#ifdef ZEND_WIN32
+ php_win32_cp_set_by_id(65001);
+#endif
+
start_memory_manager();
virtual_cwd_startup(); /* Could use shutdown to free the main cwd but it would just slow it down for CGI */