Browse Source

Fix a graceful restart SEGV. We no longer only perform initialization

on the second pass through the post_config. Now we only avoid the
initialization only on the first DSO load, and on all subsequent loads
we rerun the init code.
experimental/new_ui_api
Aaron Bannert 24 years ago
parent
commit
8e176a10fc
  1. 5
      sapi/apache2filter/sapi_apache2.c

5
sapi/apache2filter/sapi_apache2.c

@ -463,11 +463,6 @@ php_apache_server_startup(apr_pool_t *pconf, apr_pool_t *plog,
apr_pool_cleanup_null, s->process->pool);
return OK;
}
else if (data == (const void *)2) {
return OK;
}
apr_pool_userdata_set((const void *)2, userdata_key,
apr_pool_cleanup_null, s->process->pool);
/* Set up our overridden path. */
if (apache2_php_ini_path_override) {

Loading…
Cancel
Save