//编译安装PHP 5.3.3 由于PHP5.3.X已经自带了PHP-fpm所以不需要打补丁 # sudo ./configure --prefix=/usr/local/PHP-5.3.3 --with-mcrypt --with-gettext --with-MysqL --with-gd --with-jpeg-dir --with-png-dir --with-curl --with-freetype-dir --enable-gd-native-ttf --enable-mbstring --enable-sockets --with-png-dir --with-pdo-MysqL --enable-fpm --with-zlib --with-fpm-user=daemon --with-fpm-group=daemon
# sudo rm -rf /usr/local/PHP-5.3.3
# sudo make
# sudo make install //编译安装 memcache
sudo /usr/local/PHP-5.3.3/bin/PHPize
sudo ./configure --with-PHP-config=/usr/local/PHP-5.3.3/bin/PHP-config //修改PHP.ini配置文件 添加: extension_dir = "/usr/local/PHP-5.3.3/lib/PHP/extensions/no-debug-non-zts-20090626/"
extension=memcache.so