Skip to content

Commit a12e7af

Browse files
committed
Fixed bug #80506 (Immediate SIGSEGV upon ini_set("opcache.jit_debug", 1))
1 parent d254078 commit a12e7af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3058,6 +3058,8 @@ static zend_result accel_post_startup(void)
30583058
zend_accel_error(ACCEL_LOG_FATAL, "opcache.file_cache_only is set without a proper setting of opcache.file_cache");
30593059
return SUCCESS;
30603060
} else {
3061+
JIT_G(enabled) = 0;
3062+
JIT_G(on) = 0;
30613063
accel_shared_globals = calloc(1, sizeof(zend_accel_shared_globals));
30623064

30633065
/* Init auto-global strings */

0 commit comments

Comments
 (0)