#1 安装eaccelerator
linux下eaccelerator,memcache,memcached安装
精选 转载Shell代码
export PHP_PREFIX="/usr/local/webserver/php"
$PHP_PREFIX/bin/phpize
./configure --prefix=/usr/local/webserver/ --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
make install
#2 安装memcache
Shell代码
/usr/local/webserver/php/bin/phpize
./configure –enable-memcache –with-php-config=/usr/local/webserver/php/bin/php-config –with-zlib-dir
make
make install
#3 安装memcached
memcached扩展:
http://pecl.php.net/package/memcached
(summary:PHP extension for interfacing with memcached via libmemcached library)通过libmemcached 库与memcached服务交互的php扩展
Shell代码
tar -zxvf libmemcached-1.0.4.tar.gz
cd libmemcached-1.0.4
./configure
make && make install
安装memcached
Shell代码
tar -xf memcached-2.0.1.tgz
cd memcached-2.0.1 /
usr/local/webserver/php/bin/phpize
./configure --with-php-config=/usr/local/webserver/php/bin/php-config
make && make install

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
nginx+php+mysql+memcache+eaccelerator生产环境文档总结
http://bbs.51cto.com/thread-807842-1.html
mysql 数据库 休闲 nginx memcache