mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
opcache: add FrankenPHP to the allow list
This commit is contained in:
committed by
Arnaud Le Blanc
parent
35b5aceff3
commit
c8c09b4aae
@@ -2824,6 +2824,7 @@ static inline int accel_find_sapi(void)
|
||||
"litespeed",
|
||||
"uwsgi",
|
||||
"fuzzer",
|
||||
"frankenphp",
|
||||
NULL
|
||||
};
|
||||
const char **sapi_name;
|
||||
@@ -3156,7 +3157,7 @@ static int accel_startup(zend_extension *extension)
|
||||
strcmp(sapi_module.name, "cli") == 0) {
|
||||
zps_startup_failure("Opcode Caching is disabled for CLI", NULL, accelerator_remove_cb);
|
||||
} else {
|
||||
zps_startup_failure("Opcode Caching is only supported in Apache, FPM, FastCGI and LiteSpeed SAPIs", NULL, accelerator_remove_cb);
|
||||
zps_startup_failure("Opcode Caching is only supported in Apache, FPM, FastCGI, FrankenPHP, LiteSpeed and uWSGI SAPIs", NULL, accelerator_remove_cb);
|
||||
}
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user