centos6.3环境下nginx,php,memcache,memadmin的安装部署4

安装PHP memcach扩展
wget http://pecl.php.net/get/memcache-2.2.7.tgz
 tar zvxf memcache-2.2.7.tgz
 cd memcache-2.2.7
 /usr/local/php/bin/phpize
 ./configure --with-php-config=/usr/local/php/bin/php-config --enable-memcache
make
make install

出现如下提示:Installingsharedextensions:/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/在/usr/local/php/lib/php.ini文件大概868行处,添加如下一行来载入memcache扩展:extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/memcache.so

接下一篇...

相关推荐