Compiling and installing PHP 5.3.3
Since php5.3.x has brought php-fpm, there is no need to patch
# 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
Compiling and installing Memcache
Sudo/usr/local/php-5.3.3/bin/phpize
sudo./configure--with-php-c/local/php-5.3.3/bin/php-config
Modifying the php.ini configuration file
Add to:
Extension_dir = "/usr/local/php-5.3.3/lib/php/extensions/no-debug-non-zts-20090626/"
Extension=memcache.so
The above describes the memcached Ubuntu compiler installation PHP 533+memcache method, including the memcached aspect of the content, I hope that the PHP tutorial interested in a friend helpful.