CentOS安装memcached及配置php的memcache扩展

遇到的问题:php

这个问题主要是linux服务器安装memcached服务后,phpinfo信息没有memcache扩展,因此主要是给php安装memcache扩展,教程中是安装memcache扩展,我认为应该是安装memcached扩展,关于这一点不是很明白。linux

教程连接1:http://blog.csdn.net/hel12he/article/details/45537059服务器

连接2:http://blog.csdn.net/poechant/article/details/6802312memcached

连接1中的安装memcache扩展的linux命令./configure --enable-memcache --with-php-config=/usr/local/php5/bin/php-config --with-zlib-dir  ,这一句能够复制连接2中的,连接1中的不能用。.net

至此,memcached算是安装完成一半,php的memcached扩展并无安装。服务器memcached安装后页面图片加载速度明显加快。blog

相关文章
相关标签/搜索