./www/php-apcu, APCu - APC User Cache

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 5.1.20, Package name: php73-apcu-5.1.20, Maintainer: pkgsrc-users

APCu is userland caching: APC stripped of opcode caching in preparation for
the deployment of Zend Optimizer+ as the primary solution to opcode caching
in future versions of PHP.

APCu has a revised and simplified codebase, by the time the PECL release is
available, every part of APCu being used will have received review and where
necessary or appropriate, changes.

Simplifying and documenting the API of APCu completely removes the barrier to
maintenance and development of APCu in the future, and additionally allows us
to make optimizations not possible previously because of APC's inherent

APCu only supports userland caching (and dumping) of variables, providing an
upgrade path for the future. When O+ takes over, many will be tempted to use
3rd party solutions to userland caching, possibly even distributed solutions;
this would be a grave error. The tried and tested APC codebase provides far
superior support for local storage of PHP variables.

This package supports PHP 7.x and later. Install php-apcu4 if you are using
PHP 5.x.

Required to run:

Required to build:
[pkgtools/cwrappers] [devel/pcre2]

Master sites:

Version history: (Expand)

CVS history: (Expand)

   2021-03-07 15:47:59 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/php-apcu: update to 5.1.20

www/php-apcu: update to 5.1.20

5.1.20 (2021-03-04)

- Fix deadlocks when other apcu_* functions are used inside apcu_entry(). It
  should now be safe to use any functions inside the apcu_entry() callback.
- Fix division by zero exception in apc.php.
- Fix handling of references in PHP 8 if "default" serializer is used \ 
  is not the default).
- Fix string reuse handling if "default" serializer is used (which is not
  the default).
- Check for failures when acquiring read locks to report problems earlier
  (write locks were already checked previously).
- Adjust tests for current PHP 8.1 development branch.
- Remove *_api.h headers. Use apc_cache.h instead of apc_cache_api.h etc.
   2021-01-03 08:40:24 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/php-apcu: update to 5.1.19

pkgsrc change: Switch to use PHP_VERSIONS_INCOMPATIBLE.

5.1.19 (2020-10-05)

- Fixed apcu_store() with integer keys (#388).
- Made apc.use_request_time=0 the default (#391).
- Made apcu compatible with PHP 8.0.
   2019-12-16 17:30:15 by Takahiro Kambe | Files touched by this commit (18)
Log message:
Drop php71 support

Drop php71 support mechanically.
   2019-12-15 19:17:21 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/php-apcu: update to 5.1.18

Update php-apcu to 5.1.18.

o pkgsrc change: allow build with php74.

5.1.18		(2019-10-28)

- Implement apcu_inc() and apcu_dec() using atomic operations. This means
  that these functions no longer have to acquire a write lock. These
  functions will now wraparound on overflow, instead of saturating to a
  floating point value.
- Make table header in apc.php sticky.
- Fix compile warnings related to mktemp() usage.
- Fix compatibility with PHP 8.0.
- Fix required number of arguments for apcu_store() returned by Reflection.
   2019-11-02 13:54:38 by Roland Illig | Files touched by this commit (3)
Log message:
www/php-apcu: fix pkglint warnings and configure options
   2019-10-22 10:25:59 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/php-apcu: update to 5.1.17

Update php-apcu to 5.1.17.


- Fixed compatibility with PHP 7.4 and PHP 8.0.
   2019-02-05 19:58:02 by Benny Siegert | Files touched by this commit (3) | Package updated
Log message:
Update php-apcu to 5.1.16. From Michael Moll via Github pull request.

Closes NetBSD/pkgsrc#42.

- Fix build on OSX.

- Restore apc.serializer=php as the default, as the "default" serializer
  still/again has issues.
- Fix possible issues in persistence of arrays with the "default" \ 
- Attempt to reduce shared memory fragementation.

- Fixed GH #347: Disable slam defense by default.
- Fix potential issue with destruction of locks. This does not affect Linux,
  but might affect Windows and BSD.
- Use mutex instead of rwlock for shared memory allocator (if pthreads mutex
- Require only read-lock for apcu_cas(), by using atomic compare-and-swap.

- Reimplement persistence logic using precise allocation rather than memory
  pools. This reduces memory usage of cache entries, especially for small
  values, and improves performance of persisting and unpersisting values.
- Fixed GH #335: Stampede protection is broken.
- Fixed GH #328: Segfault in apcu_key_info() if APCu is disabled.
- Generally make the behavior of functions if APCu is disabled more consistent.
- Fixed PHP bug #72980: Empty strings are now consistently allowed as cache
- Optimized apcu_key_info() and apcu_cache_info() by using interned strings.
- Fix build against PHP master (PHP 7.4).
- Many changes to internal C APIs.

- gh#307: Fix 'Timout' sort option (apc.php).
- gh#308: Keep search parameter on cache entry detail link (apc.php).
- Fix --enable-apcu-clear-signal support.
- Show entries with expired global TTL in APCuIterator.
- Respect TTL when calculating APCuIterator totals.
- The per-entry TTL now always takes precedence over the global TTL.
- The global TTL is now always relative to the access time.
- apcu_inc() and apcu_dec() no longer update hard-expired entries. Instead a
  new entry is created.
- Added optional $ttl argument to apcu_inc() and apcu_dec(), used when creating
  a new entry.
- PHP bug #76145: Fix use of APCu inside Serializer::(un)serialize().
- gh#304: If apcu_cas() is used on a non-existing entry, don't insert it.
- gh#295: Improve APCuIterator performance by using PCRE JIT and preallocating
  key strings.
- Reduce the memory overhead of cache entries.
- Prevent potential memory corruption in the cache slam defense implementation.
- Ensure cache entry references are released on bailout during unserialization.
- Make support for atomic operations a hard requirement for building APCu.
- Check write-lock acquisition for failure, to help debugging deadlock
- Make sure apcu_inc/dec are atomic when working on a non-existing entry.
- Many changes to internal C APIs.

- fix gh#246 apcu_entry hangs
- fix gh#259 deadlock in apcu_store
- fix gh#281 undefined variable in apc.php
- fix handling of fatal errors in apcu_entry
- check string lengths when looking up keys
- many internal C APIs changed
   2019-01-24 10:15:26 by Jonathan Perkin | Files touched by this commit (1)
Log message:
php-apcu: Revert apparently unintended distinfo change.