Skip to content

Commit 799b3b4

Browse files
committed
fcgi_init() must be executed in the parent, so that every child would not
initialize itself anew
1 parent ba75007 commit 799b3b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sapi/fpm/fpm/fpm_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,6 +1529,8 @@ int main(int argc, char *argv[])
15291529
fcgi_request request;
15301530
char *fpm_config = NULL;
15311531

1532+
fcgi_init();
1533+
15321534
#if 0 && defined(PHP_DEBUG)
15331535
/* IIS is always making things more difficult. This allows
15341536
* us to stop PHP and attach a debugger before much gets started */

0 commit comments

Comments
 (0)