1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext
Tim Düsterhus a2d8ee27f2 opcache: Disallow changing opcache.memory_consumption when SHM is set up (#19146)
* opcache: Reset `accel_startup_ok` after shutting down

This is necessary for phpdbg, which runs multiple startup/shutdown cycles in
the same process.

* opcache: Disallow changing `opcache.memory_consumption` when SHM is set up

Normally changing the INI value is not possible after SHM is set up, since it
is `PHP_INI_SYSTEM`. FPM is a notable exception: SHM is set up in the master
process, but when spawning the individual pools, the `php_admin_value` config
option can be used to change `PHP_INI_SYSTEM` INIs on a per-pool basis. This
does not work for this option, since it will only be read on early start,
leading to misleading PHPInfo output, since the INI value appears to be
successfully set and since some of the calculated values are derived from the
INI value rather than the actual value.
2025-07-25 18:36:47 +02:00
..
2025-06-23 13:58:19 +02:00
2025-07-17 21:13:42 +02:00
2025-03-14 10:51:50 +01:00
2025-07-25 12:05:17 +02:00
2025-07-22 15:52:29 +02:00
2025-06-18 20:47:40 +02:00
2025-03-08 12:27:56 +01:00
2025-07-17 13:45:32 +02:00
2025-04-19 14:11:35 +09:00
2025-07-07 16:28:58 +02:00
2025-05-24 20:39:59 +02:00
2025-07-25 12:05:17 +02:00
2025-06-10 09:59:43 +02:00
2025-07-20 17:20:53 +02:00
2025-06-21 18:03:50 +01:00