[Wiki] changed: CentOS5InstallationNotes

Wiki Guest <[email protected]>
Newsgroups gmane.comp.horde.cvs
Message-ID <[email protected]>
guest [201.6.87.23]  Thu, 05 Feb 2009 19:20:52 -0500

Modified page: http://wiki.horde.org/CentOS5InstallationNotes
New Revision:  1.33
Change log:  added memcache info

@@ -344,8 +344,34 @@
  service httpd restart
  </code>

  ++ Performance
+
+++++ Memcached
+
+Memcached is a great performance utility. In order to use it you will  
need the pecl memcache extension and the memcached package:
+
+<code>yum install php-pecl-memcache memcached</code>
+
+Then, configure the memcached by editing the file /etc/sysconfig/memcached:
+
+<code>
+PORT="11211"
+USER="memcached"
+MAXCONN="1024"
+CACHESIZE="512"        <- Amount of memory to use (in MB)
+OPTIONS=""
+</code>
+
+Turn on the service on the default runlevel and start it:
+
+<code>chkconfig memcached on
+service memcached start
+</code>
+
+Finish configurarion on Horde -> Administration -> Setup -> Horde ->  
Cache System (and) Memcache Server.
+
+++++ MySQL

  You could try to increase mysql performance by enabling query cache feature.

  Edit your /etc/my.cnf and add the following under [mysqld]:


--
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.