eAccelerator and Memcache
Moderator: General Moderators
eAccelerator and Memcache
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?
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
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.