Skip to content

Instantly share code, notes, and snippets.

@tony2001
Created May 13, 2019 12:48
Show Gist options
  • Save tony2001/b03b49ab53e0c0c7924cee8bb6b92c61 to your computer and use it in GitHub Desktop.
Save tony2001/b03b49ab53e0c0c7924cee8bb6b92c61 to your computer and use it in GitHub Desktop.
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index 284a1b7875..4dd5eb55dd 100644
--- a/ext/opcache/ZendAccelerator.c
+++ b/ext/opcache/ZendAccelerator.c
@@ -2364,6 +2364,8 @@ int accel_activate(INIT_FUNC_ARGS)
ZCSG(last_restart_time)++;
}
accel_restart_leave();
+ } else {
+ reset_pcre = 1;
}
} else {
reset_pcre = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment