mirror of
https://github.com/php-win-ext/php-memcached.git
synced 2026-03-24 00:52:18 +01:00
e39a2e62f4265feb94512bf54d734abbb4fc71ea
Add a configuration option to enforce an item size limit on the client side. This avoids sending large items over the wire and getting rejected by the server which can cause delays. The default is 0 for no limit. The same error code RES_E2BIG is used for the client side limit as for the server side limit.
Build Steps for Windows ------------------------- Follow https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2#building_pecl_extensions - Add igbinary module to pecl directory if support desired - Download/Compile libmemcached & add to deps folders (includes & lib). Lib should be named memcache.lib - Important for 32bit: libmemcached must be built with _USE_32BIT_TIME_T defined (confirmed on PHP 7.2, VC15) - https://github.com/yshurik/libmemcached-win/tree/1.0.18 is confirmed working - To use the dll on the releases page you'd likely need to change the header files to use __time64_t instead of time_t - Enable all options desired: --enable-memcached=shared --enable-memcached-session --enable-memcached-json - for igbinary, add --enable-memcached-igbinary --enable-igbinary=shared - Run nmake
Description
Languages
C
57%
PHP
39%
M4
3.6%
JavaScript
0.4%