Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP 10.0 Blog:
More on PHP performance
Jul 14, 2009 @ 10:25:29

In this new post on the PHP 10.0 blog, Stas looks at performance in PHP applications as his own response to the Google suggestions they recently released.

So here are my thoughts about what would be good for the beginner to consider when he starts with PHP performance optimizations. Note that I do not say it's the only thing you should do – there are a bunch of articles, talks, blogs, etc. about PHP performance and many of them contain very good advice and go into much more details than I intend to go into.

Suggestions on his list include:

  • Bytecode cache
  • Profiling
  • Don't try to outsmart the engine
  • Leverage the extensions
  • Use php.ini-production as a start
tagged: benchmark profile cache tip performance