Zendcon Day 2 – Scaling techniques
The “High performance PHP & MySQL scaling techniques” was given by Eli White and he showed a couple of need tricks to help you scale your website.
The simplest solution is adding a loadbalancer and a couple of PHP server for the frontend and a MySQL master with a couple of slaves for the backend. Remember, hardware is cheap! Another easy solution is installing APC (alternative PHP cache) because by default, PHP recompiles every request and by caching the compiled code you can save up to 50% in time. Interestingly enough APC will ship by default in future versions of PHP. The drawback is that in rare cases, APC can get confused by nested dynamical includes but as Eli said, if you do that you need to rewrite your code anyways.