How to install APC and Memcached on Centos 6

yum install php-pear
yum install pcre-devel httpd-devel
yum install php-devel
yum install gcc
php -i | grep php.ini
pear config-set php_ini /etc/php.ini
pecl config-set php_ini /etc/php.ini
pear install pecl/apc

rpm -Uvh (64 bit)
rpm -Uvh (32 bit)

yum install memcached libmemcached-devel zlib-devel
pecl install memcache
service httpd restart
Source: sMyles

smyles 56 29