Skip to content

Commit 0a6ec7a

Browse files
committed
add notes about opcache windows issue and migration from APC
1 parent 2873b5b commit 0a6ec7a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

UPGRADING

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,13 +385,29 @@ PHP 5.5 UPGRADE NOTES
385385
- opcache.preferred_memory_model (default "")
386386
- opcache.protect_memory (default "0")
387387
- opcache.mmap_base (Windows-only)
388+
- If APC or WinCache was used before, the user cache APIs can be replaced by:
389+
- APCu, all supported OSes (http://pecl.php.net/package/APCu, Windows: http://windows.php.net/downloads/pecl/releases/apcu/)
390+
- WinCache, windows only (http://pecl.php.net/package/WinCache), a version with the ability to use only the user
391+
cache will be released shortly after 5.5.0 final
388392

389393
========================================
390394
11. Windows Support
391395
========================================
392396

393397
- Apache 2.4 handler is supported as of PHP 5.5.0
394398

399+
- OpCache
400+
Error like 'unable to reattach to base address' could happen in many common setups.
401+
It is due to some technical and design restriction in the engine and cannot be fixed
402+
easily before 5.5.0 final was released.
403+
404+
A possible fix is to tweak the opcache.mmap_base INI setting by forcing the 1st address
405+
to be tried.
406+
407+
For x86 version, the following addreses can be tried:
408+
. 0x20000000, 0x21000000, 0x30000000, 0x31000000, 0x50000000
409+
and for x64 (still expiremental):
410+
. 0x0000100000000000, 0x0000200000000000, 0x0000300000000000, 0x0000700000000000
395411

396412
========================================
397413
12. Other Changes

0 commit comments

Comments
 (0)