Install memcached and memcache for PHP on windows
来源:互联网 发布:支付宝端口号 编辑:程序博客网 时间:2024/04/30 07:36
1. Download the memcached for windows in URL: http://jehiah.cz/projects/memcached-win32/
2. Unzip the binaries in your desired directory (eg. c:/memcached)
3. Install the service using the command: 'c:/memcached/memcached.exe -d install' from either the command line
4. Start the server from the Microsoft Management Console or by running the following command: 'c:/memcached/memcached.exe -d start'
5. Use the server, by default listening to port 11211
6. Download the PHP memcache extension for windows in URL: http://downloads.php.net/pierre/
7. Copy it to PHP extensions directory (eg. c:/PHP/ext)
8. Open php.ini and add 'extension=php_memcache.dll'
9. Restart your web server and check the phpinfo
PS:
Other settings for memcached:
-p <num> TCP port number to listen on (default: 11211)
-U <num> UDP port number to listen on (default: 0, off)
-s <file> unix socket path to listen on (disables network support)
-l <ip_addr> interface to listen on, default is INDRR_ANY
-d start tell memcached to start
-d restart tell running memcached to do a graceful restart
-d stop|shutdown tell running memcached to shutdown
-d install install memcached service
-d uninstall uninstall memcached service
-r maximize core file limit
-u <username> assume identity of <username> (only when run as root)
-m <num> max memory to use for items in megabytes, default is 64
-M return error on memory exhausted (rather than removing i
-c <num> max simultaneous connections, default is 1024
-k lock down all paged memory
-v verbose (print errors/warnings while in event loop)
-vv very verbose (also print client commands/reponses)
-h print this help and exit
-i print memcached and libevent license
-b run a managed instanced (mnemonic: buckets)
-P <file> save PID in <file>, only used with -d option
-f <factor> chunk size growth factor, default 1.25
-n <bytes> minimum space allocated for key+value+flags, default 48
- Install memcached and memcache for PHP on windows
- centos install memcached php-memcache
- How to Install PHP 5 for Iis 6 on Windows Xp and 2003 - wikiHow
- Memcached Install - windows and linux
- Install MySQL 5 for Python 2.6 (and django) on Windows
- Installing Memcached for PHP 5.3 on Windows 7
- Memcached install and config for fedora
- How To Install and Use Memcache on Ubuntu 14.04
- Install windows server 2008 on ESXi 5.1, add to domain and config for remote desktop
- How to install and run Microsoft Windows for free on Linux
- install sphinx for php on ubuntu
- Install ITK and VTK on Windows
- Install and Run cuda-convnet on Windows
- MinGW-w64 and msys install on windows
- Install boost on Windows for Visual C++
- Windows下安装Memcache 使用memcached for Win32
- How to install php memcached on CentOS 6.5
- PHP模块:Memcached > Memcache
- GIS网站一网打尽
- IT URL
- Singleton模式的C++实现
- Oracle9i在RHEL5上的安装
- SQL自动定时备份 并加密压缩自动下载的方法
- Install memcached and memcache for PHP on windows
- tttttt
- linux gcc 动态共享库基础知识
- 简单实用的两种MySQL数据库备份的方法
- IBM TIVOLI 中对相同JOB的分段时间操作
- javascript中关于window对象属性的全面介绍
- 对移动硬盘进行分区
- 罷工!!!!
- 一堂价值39万元的课,把它看完,你一定会有收获