[php-src] PR #19350: Disable opcache if no SHM backend is available
| From: | arnaud-lb | Date: | Sat, 02 Aug 2025 09:20:19 +0000 |
| Subject: | [php-src] PR #19350: Disable opcache if no SHM backend is available | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32766@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19350
Author: arnaud-lb
Currently, Opcache emits a fatal error when no SHM backend is available. This prevents running PHP
on systems for which no SHM backend exists (we support a wide range of systems with
mmap(MAP_ANONYMOUS), shmget(), shm_open(), but some non-standard systems may not have any of these).
Change that to disable Opcache instead, in a similar way to how we disable Opcache by default in
CLI.
cc @krakjoe