3.1.14
- When include_once_override is on, use the cached realpath. See rev. 328172
for a full explanation (Rasmus)
- Fixed bug #63852 (apc 3.1.13 fails to build if __APC_SMA_DEBUG__ is set)
(Laruence)
- Fixed bug #63434 (Segfault if apc.shm_strings_buffer excceed apc.shm_size)
(Laruence)
- Fixed bug #63070 (apc.include_once_override bug) (Laruence)
- Fixed bug #62151 (Stat files only require read access only, windows). (Pierre)
- fix num. segfaults by revert rev. 326820 and issue reported in bug #62972
- Fixed bug #63491 file_md5 value was wrong when use apc_bin_load function
(Anatoliy)
- Fixed PHP 5.5 compatibility (related to VM variables access fix) (Anatoliy)
- Added tests for bugs #63224, #63545, #63669 (Anatoliy)
- Fixed bug (apc_bin_dump doesn't swizzle bucket arKey in HashTable)
(Laruence)
- Fixed bug #62825 (php carshed OR return PHP Fatal error when used
apc_bin_dump after apc_store) (Laruence)
- Fixed bug due to Conditional "jump or move depends on uninitialised
value(s)" in apc_op_ZEND_INCLUDE_OR_EVAL and apc_bin_dump (Laruence)
- Fixed bug #62802 (Crash when use apc_bin_dump/load) (Laruence)
- Fixed bug #62757 (php-fpm carshed when used apc_bin_dumpfile with
apc.serializer) (Laruence)
- Fixed bug #62765 (apc_bin_dumpfile report Fatal error when there is "goto"
in function) (Laruence)
- Fixed bug #61133 (segfault in tests/apc_bin_002.phpt) (Laruence)
- Fixed handling of userspace stream wrappers simulating file
inclusion/requiring (Anatoliy, Rasmus)
- Fixed bug #62699 trait aliases and precedences handling (Anatoliy)
- Added cli built-in server tests (Anatoliy)
- Fixed filter regex freeing on request shutdown (Anatoliy)
- Fixed interned strings storage freeing on module shutdown (Anatoily)
- Fixed bug #61742 preload_path does not work due to incorrect string length
(Anatoliy)
- Fixed several memory leaks it APCIterator (Anatoliy)
- Fixed potential overflows in bin dumps (Anatoliy)
- In cli mode with stat=0 and canonicalize=1 make sure cwd is searched
- Fixed bug #62302 apc.include_once_override=1 made everything crash
- Fixed bug #59829 APC should not try to canonicalize file URLs
- Fixed bug #62398 stat=0 replaces an include/require filename with empty string
- Fixed bug #61799 Typo in 'SEARCH' regex of apc.php
- Fixed bugs #61824,61912,61956,62190,62230 ext/DOM memory corruption (cschneid)
- Add PHP 5.4 support (Dmitry, Anatoliy, Pierre)
- Fixed bug #22679: Fix apc_bin_dump for constants. Use IS_CONSTANT_TYPE_MASK
to handle all the constants, including the unqalified ones (instead of
~IS_CONSTANT_INDEX check)
- Fixed bug #23822, php crashes on apache restart
Drop ${PHP_BASE_VARS} from PKGVERSION by default.
It used to be required to support multiple php version.
But after PHP version based ${PHP_PKG_PREFIX} was introduced,
such trick is not required anymore.
In addition to this, such version name schme invokes unwanted version bump
when base php version is bumped, plus, such version scheme is hard to
use for DEPENDS pattern.
To avoid downgrading of package using such legacy version scheme,
PECL_LEGACY_VERSION_SCHEME is introduced.
If it is defined, current version scheme is still used for currently
supported PHP version (5 and 53), but instead of ${PHP_BASE_VARS},
current fixed PHP base version in pkgsrc is used to avoid unwanted version bump
from update of PHP base package.
With newer PHP (54, or so on), new version scheme will be used if
it is defined.
This trick will not be required and should be removed after php5 and php53 will
be gone away from pkgsrc.
- Fix pollution of the slots table with unoccupied slots (r311376)
- Fix fcntl lock error from repository (r311339). It was reported
by PR pkg/45082 from Peter Avalos.
Bump PKGREVISION.
3.1.9 (stable)
- Fix regression introduced in 3.1.8 (#22687)
3.1.8 (stable)
- Windows read-write locks support on Windows XP or later and Windows
Win7 or later (use php_apc-xp.dll or php_apc-win7.dll)
- Fix variable type check in user cache update
- Make warnings that user cannot do anything about debug messages
- Fixed bug #21400 (Minor memory leak in MINFO)
- Fixed bug #18890: Ensure that --enable-apc-debug=no disables debug mode.
- Fixed bug #19459: check for expiry while looping through the iterator slots
3.1.7 (beta)
- pthread read-write locks support
- apc.serializer hooks, export apc_serializer.h as an API
- Fix regression bug #20529: Look up files in CWD
- Pool allocator fixes for large allocations
- trunk compat fixes (Kalle)
- ZTS fixes (Pierre, Hirokawa)
- Readability and warning fixes (Pierre, Kalle)
3.1.6 2010-11-30
- make slam_defense a little more optimistic, allow a thread/process to write
to cache in a loop
- ensure realpaths hit the realpath_cache, in no-stat mode
- prevent memory starvation, nuke all caches when expunging just one doesn't
work
- fix uploadprogress keylength issues (NUL is part of keylen, pecl bug #20016)
3.1.5 2010-11-02
- Reduce usage of CG(open_files) (mkoppanen at php dot net)
- Add support for php-trunk, new op code, new internals string format,
etc. (Dmitry)
- apc_debug are not compiler-valid NOPs for non-debug builds
- Fixed relative paths resolution when ./foo/a.php or ../foo/a.php (or similar
path) are used. 'foo/a.php' path behaviors remain unchanged
- Fixed a possible memory corruption, when partial path cannot be resolved by
expand_filepath()
- Fixed notices in apc.php (Tomasz Krawczyk)
- Fixed Bug #17978: standardize user keys to include NULs in
identifier_len. Z_STRLEN_P() doesn't, so add to it.
- Fixed bug #16966, apc produces tons of warnings "Unable to allocate memory
for pool".
- Added --enable-apc-debug configuration argument to enable debugging (Kalle)
- Added support for internal debugging on Windows (Kalle)
- ZTS optimizations (Kalle)
3.1.4 2010-08-05
- Windows builds may now have filehits and memory protection if enabled
(Kalle)
- Renamed the memory protection configure option to --enable-apc-memprotect
(Kalle, Shire)
- ZTS fixes and optimizations (Kalle, Felipe)
- Win32 stat support (Pierre, Kalle)
- Added support for interned strings, run-time caches and Zend Engine 2.4
(Dmitry)
- Added apc_exists() (Rasmus)
- Fixed potential XSS in apc.php (Pierre, Matt Chapman)
- Fixed pecl bug #17597 (keys with embedded NUL) (Gopal)
- Fixed pecl bug #17650 (Fix goto jump offsets) (Gopal)
- Fixed pecl bug #17527 (Standardized error reporting) (Gopal, Paul Dragoonis)
- Fixed pecl bug #17089 (Scrub the constant table of all inherited members
before caching) (Gopal)
- Fixed pecl bug #16860 (files can be included more than once even when
include/require_once are used) (Pierre)
- Fixed pecl bug #16717 (apc_fetch dies after 1 hour, regardless of ttl
settings) (Kalle)
- Fixed pecl bug #17597 (apc user cache keys with embedded NULs) (Gopal)
- Fixed pecl bug #13583 (apc upload progress fixes) (Gopal)
New in 3.0.14:
* Build fix (Shire)
* Don't hook the upload hook if APC is disabled (Rasmus)
* Local shadow cache support (Gopal)
* Avoid uneccessary loops over op_arrays for "known" auto-globals (Gopal)
* Fix apc_add() to overwrite timed out user entries (Rasmus)
* Fix double inclusion of files with conditional classes in php4 (Gopal)
* Allocator fixes to reduce fragmentation (Gopal)
New in 3.0.13:
* PHP 5.2 file upload progress tracking support (Rasmus)
* Pthread mutex and spin locks (Shire)
* Recursive zval support for apc_fetch/_store (Shire, Gopal)
* apc.stat_ctime flag for ctime checks (Rasmus)
* Multiple key fetches with apc_fetch (Shire)
* Canary checks for shm memory deallocation (Gopal)
* Add hooks for external optimizer (Shire)
* Obsolete and remove apc optimizer (Gopal)
* APC info changes - cache insert rate, hit and miss rates (Shire)
* Fix apc_load_constants (Gopal)
* Rewrite dump opcode code to use vld (Gopal)
* Use apc_[ewn]print functions for error reporting (Shire)
* Auto global fixes and refactoring (Gopal, Shire)
* Fix memory leaks in object serialization (Ilia)
* Memory cleanup code for destructor order (Gopal)
* Win32 build fixes (Ilia, Wez)
* ZTS and Php 4 build fixes (Bjori)
* Add apc_add() function (Rasmus)
* Add optional limited flag to apc_sma_info() (Rasmus)
Also fixes:
PR: 33424 by FUKAUMI Naoki
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or
ap2-* respectively. Add new variables to simplify the Makefile
handling. Add CONFLICTS on the old names. Reset revisions of bumped
packages. ap-php will now depend on the default Apache and PHP version.
All programs using it have an implicit option of the Apache version
as well.
OK from jlam@ and adrianp@.
APC is the Alternative PHP Cache, which provides a way of boosting the
performance of PHP on heavily-loaded sites by allowing scripts to be cached
in a compiled state, so that the overhead of parsing and compiling can be
almost completely eliminated.