php的memcache扩展安装分为两个步骤
第一个步骤是:memcache缓存服务器的安装
telnet localhost 5668
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Memcache::getVersion
string Memcache::getVersion ( void )
说明:
memcache::debug
bool memcache_debug ( bool $on_off )
说明:
原理是:直接用 memcache 来作 PHP 的 session.save_handler。
1. 安装 memcached
XCache 是一个又快又稳定的 PHP opcode 缓存器. 经过良好的测试并在大流量/高负载的生产机器上稳定运行.