Skip to content

Commit 1e6c7e7

Browse files
devnexennikic
authored andcommitted
JIT disabled build fix.
Closes phpGH-6514.
1 parent 2e974c8 commit 1e6c7e7

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,8 +3058,10 @@ 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+
#ifdef HAVE_JIT
30613062
JIT_G(enabled) = 0;
30623063
JIT_G(on) = 0;
3064+
#endif
30633065
accel_shared_globals = calloc(1, sizeof(zend_accel_shared_globals));
30643066

30653067
/* Init auto-global strings */

0 commit comments

Comments
 (0)