svn: /php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/ fpm_main.c
| From: | Antony Dovgal | Date: | Thu, 28 Jan 2010 10:38:14 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/ fpm_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-61670@lists.php.net to get a copy of this message | ||
tony2001 Thu, 28 Jan 2010 10:38:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=294145
Log:
fcgi_init() must be executed in the parent, so that every child would not
initialize itself anew
Changed paths:
U php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_main.c
Modified: php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_main.c
===================================================================
--- php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_main.c 2010-01-28 08:39:58 UTC (rev 294144)
+++ php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_main.c 2010-01-28 10:38:14 UTC (rev 294145)
@@ -1529,6 +1529,8 @@
fcgi_request request;
char *fpm_config = NULL;
+ fcgi_init();
+
#if 0 && defined(PHP_DEBUG)
/* IIS is always making things more difficult. This allows
* us to stop PHP and attach a debugger before much gets started */