I'm hoping I could get some more information on the best way to setup my php environment for performance?
My current box file loads the following php extensions:
Are there any php extensions that I should add? I'm not familiar with php extensions, and after trying to read some descriptions, am still confused.
I see a lot of people (from tutorials) are adding eaccelerator. Should I add that or apc? Will it conflict with redis that I use for caching? I've also seen pdo_mysql in examples.
My app runs fine at the moment, but I'd like to optimize it now while there's not much traffic. Any insights would be much appreciated. Thank you.
Eaccelerator or APC would help. I prefer eaccelerator, but both work well. You won’t be able to have both enabled though without causing problems. It’s a code cache, so it wouldn’t impact your other caches at all (such as redis or memcache). If you aren’t using pdo, then pdo_mysql isn’t needed. I think the only thing you’d want to do is add one of the code caches (apc or eaccelerator)
I hope that helps clear things up for you.