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

遇到的问题:

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

教程链接1:http://blog.csdn.net/hel12he/article/details/45537059

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

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

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

posted on 2015-08-27 09:20  BuildyMan  阅读(318)  评论(0编辑  收藏  举报

导航