How to compile and install php5.3.3 + memcache in ubuntu. Compiling and installing php5.3.3 because php5.3.X already comes with php-fpm, no patching is required # sudo. configure -- prefixusrlocalphp-5.3.3 -- with-mcrypt -- with-gettext -- with-mysql -- wit // compile and install php 5.3.3
Because php5.3.X already comes with php-fpm, no patching is required.
# 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
// Compile and 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
// Modify the php. ini configuration file
Add:
Extension_dir = "/usr/local/php-5.3.3/lib/php/extensions/no-debug-non-zts-20090626 /"
Extension = memcache. so
5.3.3 because php5.3.X already comes with php-fpm, you do not need to patch it # sudo. /configure -- prefix =/usr/local/php-5.3.3 -- with-mcrypt -- with-gettext -- with-mysql -- wit...