php-src/ext/opcache
Arnaud Le Blanc e4078a6a70
Disable opcache if no SHM backend is available
Currently, configure fails when no SHM backend is available. Additionally,
even after bypassing the configure check, opcache emits a fatal error if no
SHM backend is available.

Make the configure check non-fatal (a warning is printed). At runtime, disable
opcache if no backend is available, in the same way we disable opcache by
default on CLI.

Closes GH-19350
2025-08-08 14:41:37 +02:00
..
jit Allocate a fast thread-safe-resource id for opcache 2025-08-06 18:02:43 +02:00
tests Fix borked test 2025-08-06 22:25:14 +02:00
config.m4 Disable opcache if no SHM backend is available 2025-08-08 14:41:37 +02:00
config.w32 Add opcache_preloading() internal function 2025-08-06 18:21:19 +02:00
CREDITS
opcache.stub.php Add opcache_is_script_cached_in_file_cache() function 2025-07-16 17:37:12 +02:00
opcache_arginfo.h Add opcache_is_script_cached_in_file_cache() function 2025-07-16 17:37:12 +02:00
shared_alloc_mmap.c [skip ci] tree: Fix various typos (#19366) 2025-08-04 15:15:52 +01:00
shared_alloc_posix.c opcache: change uses of sprintf into snprintf 2024-06-14 08:12:03 -07:00
shared_alloc_shm.c Make lots of string pointers const (#10646) 2023-02-21 14:01:37 +00:00
shared_alloc_win32.c Merge branch 'PHP-8.4' 2025-04-28 19:52:28 +02:00
zend_accelerator_api.c Add opcache_preloading() internal function 2025-08-06 18:21:19 +02:00
zend_accelerator_api.h Add opcache_preloading() internal function 2025-08-06 18:21:19 +02:00
zend_accelerator_blacklist.c Use win32 glob implementation on all platforms (#18164) 2025-05-20 16:20:59 -03:00
zend_accelerator_blacklist.h
zend_accelerator_debug.c
zend_accelerator_debug.h ext/opcache: C++ compatibility 2023-01-12 15:14:05 +00:00
zend_accelerator_hash.c Mark globals as const (#10303) 2023-01-23 13:46:58 +00:00
zend_accelerator_hash.h Revert GH-10279 2023-01-16 12:25:59 +01:00
zend_accelerator_module.c Make OPcache non-optional 2025-07-27 09:40:22 +02:00
zend_accelerator_module.h Make OPcache non-optional 2025-07-27 09:40:22 +02:00
zend_accelerator_util_funcs.c Small change SIMD codes (#18626) 2025-05-26 16:32:27 +09:00
zend_accelerator_util_funcs.h
zend_file_cache.c Add opcache_is_script_cached_in_file_cache() function 2025-07-16 17:37:12 +02:00
zend_file_cache.h Add opcache_is_script_cached_in_file_cache() function 2025-07-16 17:37:12 +02:00
zend_persist.c Fix error handling inconsistency with opcache 2025-07-27 11:01:49 +02:00
zend_persist.h ext/opcache: C++ compatibility 2023-01-12 15:14:05 +00:00
zend_persist_calc.c [RFC] Add support for attributes on compile-time constants 2025-04-29 11:53:09 -07:00
zend_shared_alloc.c Disable opcache if no SHM backend is available 2025-08-08 14:41:37 +02:00
zend_shared_alloc.h Disable opcache if no SHM backend is available 2025-08-08 14:41:37 +02:00
ZendAccelerator.c Disable opcache if no SHM backend is available 2025-08-08 14:41:37 +02:00
ZendAccelerator.h Add opcache_preloading() internal function 2025-08-06 18:21:19 +02:00