--- php-5.2.8.fpm/sapi/cgi/fastcgi.c.orig 2008-12-25 15:28:48.000000000 +0300 +++ php-5.2.8.fpm/sapi/cgi/fastcgi.c 2008-12-25 15:28:27.000000000 +0300 @@ -271,7 +271,7 @@ if (is_initialized) { zend_hash_destroy(&fcgi_mgmt_vars); } - is_fastcgi = 1; + is_fastcgi = 0; if (allowed_clients) { free(allowed_clients);