Skip to content

Commit 7acb770

Browse files
committed
opcache: add FrankenPHP to the allow list
1 parent ce527ed commit 7acb770

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/opcache/ZendAccelerator.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -2824,6 +2824,7 @@ static inline int accel_find_sapi(void)
28242824
"litespeed",
28252825
"uwsgi",
28262826
"fuzzer",
2827+
"frankenphp",
28272828
NULL
28282829
};
28292830
const char **sapi_name;
@@ -3156,7 +3157,7 @@ static int accel_startup(zend_extension *extension)
31563157
strcmp(sapi_module.name, "cli") == 0) {
31573158
zps_startup_failure("Opcode Caching is disabled for CLI", NULL, accelerator_remove_cb);
31583159
} else {
3159-
zps_startup_failure("Opcode Caching is only supported in Apache, FPM, FastCGI and LiteSpeed SAPIs", NULL, accelerator_remove_cb);
3160+
zps_startup_failure("Opcode Caching is only supported in Apache, FPM, FastCGI, FrankenPHP, LiteSpeed and uWSGI SAPIs", NULL, accelerator_remove_cb);
31603161
}
31613162
return SUCCESS;
31623163
}

0 commit comments

Comments
 (0)