When I installed MediaWiki on my site, it would take a few seconds for it to render each page. I thought this was a combination of many things, such as accessing the database, php, apache, and my web browser. But, Wikipedia seems to work really fast because they use some kind of cache strategy. So I decided to begin by changing a few parameters for my database server and that didn't seem to fix anything. I remembered something about memcache when I set up MediaWiki, so I decided to start looking into that.
The configuration file for APC is put into /etc/php/*/ext/. The default configuration file seems to work fine for me. I may tweak it a little eventually. I would imagine this will also help speedup any other PHP pages on your servers.
This page was last edited on November 13, 2010, at 18:23.