summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
index c406e511b3..bf574efe32 100644
--- a/main/main.c
+++ b/main/main.c
@@ -717,6 +717,8 @@ int php_request_startup(CLS_D ELS_DC PLS_DC SLS_DC)
php_output_startup();
+ PG(post_request_startup_ok) = PG(pre_request_shutdown_ok) = 0;
+
#if APACHE
/*
* For the Apache module version, this bit of code registers a cleanup