mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Added warning message
This commit is contained in:
parent
a2ba970ce3
commit
093e8b1bbf
1 changed files with 5 additions and 0 deletions
|
@ -3787,6 +3787,11 @@ static int accel_finish_startup(void)
|
|||
char *(*orig_getenv)(char *name, size_t name_len TSRMLS_DC) = sapi_module.getenv;
|
||||
zend_bool old_reset_signals = SIGG(reset);
|
||||
|
||||
if (UNEXPECTED(file_cache_only)) {
|
||||
zend_accel_error(ACCEL_LOG_WARNING, "Preloading doesn't work in \"file_cache_only\" mode");
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
sapi_module.activate = NULL;
|
||||
sapi_module.deactivate = NULL;
|
||||
sapi_module.register_server_variables = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue