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 http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm (64 bit)
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm (32 bit)

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

advertisement:
smyles 56 29
sMyl.es

General