mirror of
https://github.com/php/pftt2.git
synced 2026-03-24 09:12:17 +01:00
Cleanup assumes wrong Opcache base address filename #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cmb69 on GitHub (May 23, 2019).
cleanupBaseAddressFile()assumes no longer valid base address filenames. These names may have been valid once, but are no longer; see https://github.com/php/php-src/blob/php-7.3.6RC1/ext/opcache/shared_alloc_win32.c#L94-L114 on how the are constructed currently.To cater to future changes (e.g. https://github.com/cmb69/php-src/tree/opcache.cache_id/ext), it might be best to delete all files starting with
ACCEL_FILEMAP_BASEwhich is "ZendOPcache.MemoryBase" and doesn't appear likely to change.