Page 1 of 1
eAccelerator and Memcache
Posted: Sun Dec 16, 2007 1:49 am
by GeXus
Does anyone know if you can run both eAccelerator and memcache together? From what I understand eAccelerator creates a cached copy of the compiled php, so it doesn't have to re-compile each time, could you couple that with memcache for DB queries?
Posted: Sun Dec 16, 2007 8:05 am
by Maugrim_The_Reaper
eAccelerator or apc cache opcode from compiled PHP, and you can also use them for some general memory caching. Memcache is a different beast so you can have both working at the same time. Memcached is completely different - it only caches objects/data you specifically require it to and can do so across multiple servers since it runs as a daemon (you need the memcache binary for your system separately) accessible via an IP and Port. If you're only running on one server I suggest you research the topic of caching a bit more to see if memcache is suitable.