Apache Performance Tuning

This is a variety of tips complied from various places listed below. This is the notes that I took for myself while researching apache performance on several different machines. Read more to see the rest.

PHP Performance

I have some more PHP Performance notes somewhere, but this is all that I can find right now.

Use for loops over foreach loops
Use ‘ over “, unless you are parsing variables
Use echo over print

For Loops
Use either of the following syntax for your for loops. They take about the same amount of time to execute

$count = [...]