Okay.
Install memcached from the Epel Repo
yum install --enablerepo=smecontribs --enablerepo=sme7contribs --enablerepo=dag --enablerepo=fws --enablerepo=epel memcached
Start the service and make it a part of auto startup
chmod 755 /etc/rc.d/init.d/tomcat
ln -s /etc/rc.d/init.d/memcached /etc/rc.d/rc7.d/S97memcached
ln -s /etc/rc.d/init.d/memcached /etc/rc.d/rc6.d/K02memcached
ln -s /etc/rc.d/init.d/memcached /etc/rc.d/rc2.d/K02memcached
ln -s /etc/rc.d/init.d/memcached /etc/rc.d/rc1.d/K02memcached
ln -s /etc/rc.d/init.d/memcached /etc/rc.d/rc0.d/K02memcached
service memcached start
Install gcc and zlib-devel
yum install --enablerepo=smecontribs --enablerepo=sme7contribs --enablerepo=dag --enablerepo=fws --enablerepo=epel zlib-devel gcc
Then enable the PECL extension to interact with PHP
pecl install memcache
Everything should compile properly
Create a directory
mkdir /etc/e-smith/templates-custom/etc/php.ini
Unless you already have that directory, then create a new file
nano -w 92memcache
Inside the file copy and paste
extension=memcache.so
Now expand and restart
expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart
Go to Wordpress, and look in your Cache plugin to see the newly available "Memcache".
I was trying to go with eAccelerator, but it seemed more complicated than this way. Anything is better than basic disk caching, so I'm happy.
Please try these instructions, and let me know if it works. I will put into a page if all goes well