summaryrefslogtreecommitdiff
path: root/sapi/aolserver/aolserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/aolserver/aolserver.c')
-rw-r--r--sapi/aolserver/aolserver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/aolserver/aolserver.c b/sapi/aolserver/aolserver.c
index 601bd11af4..e6b61e802c 100644
--- a/sapi/aolserver/aolserver.c
+++ b/sapi/aolserver/aolserver.c
@@ -288,6 +288,7 @@ static sapi_module_struct sapi_module = {
* with a number of variables. HTTP_* variables are created for
* the HTTP header data, so that a script can access these.
*/
+
#define ADD_STRING(name) \
MAKE_STD_ZVAL(pval); \
pval->type = IS_STRING; \
@@ -541,6 +542,7 @@ php_ns_server_shutdown(void *context)
ctx->sapi_module->shutdown(ctx->sapi_module);
sapi_shutdown();
+ reentrancy_shutdown();
tsrm_shutdown();
free(ctx->ns_module);
@@ -560,6 +562,7 @@ int Ns_ModuleInit(char *server, char *module)
php_ns_context *ctx;
tsrm_startup(1, 1, 0);
+ reentrancy_startup();
sapi_startup(&sapi_module);
sapi_module.startup(&sapi_module);