mirror of
https://github.com/php-win-ext/php-memcached.git
synced 2026-03-24 00:52:18 +01:00
8877b9ac8ab6dfc29384a549e06de0c03f8081eb
windows.php.net is in the process of being replaced by downloads.php.net, so we switch right away.
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%