com php-src: increase the stack size for cli and cgi: sapi/cgi/config.w32 sapi/cli/config.w32
| From: | Anatol Belski | Date: | Sat, 16 Aug 2014 14:45:05 +0000 |
| Subject: | com php-src: increase the stack size for cli and cgi: sapi/cgi/config.w32 sapi/cli/config.w32 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80785@lists.php.net to get a copy of this message | ||
Commit: 54906c760fb578079b6783a2aa4184372a3179d3
Author: Anatol Belski <ab@php.net> Sat, 16 Aug 2014 16:45:05 +0200
Parents: 5bb25776a00e1074d1230a311043b00f7cce9252
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=54906c760fb578079b6783a2aa4184372a3179d3
Log:
increase the stack size for cli and cgi
Changed paths:
M sapi/cgi/config.w32
M sapi/cli/config.w32
Diff:
diff --git a/sapi/cgi/config.w32 b/sapi/cgi/config.w32
index 8d1d431..55a2fba 100644
--- a/sapi/cgi/config.w32
+++ b/sapi/cgi/config.w32
@@ -4,7 +4,7 @@
ARG_ENABLE('cgi', 'Build CGI version of PHP', 'yes');
if (PHP_CGI == "yes") {
- ADD_FLAG("LDFLAGS_CGI", "/stack:8388608");
+ ADD_FLAG("LDFLAGS_CGI", "/stack:67108864");
SAPI('cgi', 'cgi_main.c fastcgi.c', 'php-cgi.exe');
ADD_FLAG('LIBS_CGI', 'ws2_32.lib kernel32.lib advapi32.lib');
}
diff --git a/sapi/cli/config.w32 b/sapi/cli/config.w32
index adcbb2b..438c9e6 100644
--- a/sapi/cli/config.w32
+++ b/sapi/cli/config.w32
@@ -11,11 +11,11 @@ if (PHP_CLI == "yes") {
if (PHP_CRT_DEBUG == "yes") {
ADD_FLAG("CFLAGS_CLI", "/D PHP_WIN32_DEBUG_HEAP");
}
- ADD_FLAG("LDFLAGS_CLI", "/stack:8388608");
+ ADD_FLAG("LDFLAGS_CLI", "/stack:67108864");
}
if (PHP_CLI_WIN32 == "yes") {
SAPI('cli_win32', 'cli_win32.c php_cli_process_title.c ps_title.c',
'php-win.exe');
- ADD_FLAG("LDFLAGS_CLI_WIN32", "/stack:8388608");
+ ADD_FLAG("LDFLAGS_CLI_WIN32", "/stack:67108864");
}