Joomla + APC + memcached
APC makes good cache.
configurations
http://php.net/manual/en/apc.configuration.php
and
apc.shm_size=256
dont forget there is apc.php file that shows apc stats.
Memcached
to install memcached
http://dag.wieers.com/rpm/FAQ.php#B2
get dag wieers yum repo, then enable
You need to edit the file /etc/yum.repos.d/rpmforge.repo and put "enabled = 1" instead of "enabled = 0" in the [rpmforge-extras] section and then re-run your command yum -y install memcached.
then install as
configurations
http://php.net/manual/en/apc.configuration.php
and
apc.shm_size=256
apc.num_files_hint=10000apc.user_entries_hint=10000
apc.max_file_size=5M
apc.stat=0
dont forget there is apc.php file that shows apc stats.
Memcached
to install memcached
http://dag.wieers.com/rpm/FAQ.php#B2
get dag wieers yum repo, then enable
You need to edit the file /etc/yum.repos.d/rpmforge.repo and put "enabled = 1" instead of "enabled = 0" in the [rpmforge-extras] section and then re-run your command yum -y install memcached.
then install as
yum install memcached php-memcache
and then
pecl install memcache
if fails make sure install
gcc
using
yum install gcc
then add extension=memcache.so to php.ini
thats it. dont forget to restart httpd and memcached also chkconfig memcached to start on boot
Comments
Post a Comment