在本地windows下开发,集成环境中用到了memcache,导致代码无法正常运行,因此不得不写额外的“开关memcache”的逻辑。
先收藏:http://splinedancer.com/memcached-win32/
The win32 version of memcached can be run both as a NT Service or from the command line. To install memcached as a service, follow the next steps:
- Unzip the binaries in your desired directory (eg. c:\memcached)
- Install the service using the command: 'c:\memcached\memcached.exe -d install' from the command line
- Start the server from the Microsoft Management Console or by running the following command: 'c:\memcached\memcached.exe -d start'
- Use the server, by default listening to port 11211