1, 安装libevent
下载地址 http://libevent.org/
2,安装memcache
下载地址
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
3,配置
extension = “memcache.so”
本文介绍了如何安装libevent及memcache的过程。首先通过提供的链接下载libevent,并进行安装。接着,安装memcache,包括使用phpize命令进行配置,通过configure指定PHP配置路径,最后完成编译安装。在配置文件中启用memcache扩展。
1, 安装libevent
下载地址 http://libevent.org/
2,安装memcache
下载地址
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
3,配置
extension = “memcache.so”

被折叠的 条评论
为什么被折叠?