0

Does anybody know of a checklist for LAMP best practices? There is a lot of disparate advice on the 'net, but it would be nice to know if somebody has already published a best-practices guide or book for Linux/Apache/Mysql/PHP hosting architecture before we try to come up with that on our own.

caseyamcl
  • 153

2 Answers2

2

I like to think of the LAMP stack as being the "screw your best practices, I'm getting shit done" stack.

So to me the 'best practices' for it are really just overall engineering best practices. Keep it simple, use the fewest number of moving parts possible, solve the problems you have not hypothetical ones, test, measure, and make metrics-based (or at least informed) decisions, but above all else focus on your business and your customer not your scaling-dreams.

Also, use a CDN on the front and a Percona-on-SSD on the back :)

cagenut
  • 4,868
0

It depends on the load you are facing. Each letter in LAMP deserves a book. There are different optimization configuration depending on your goals (scaling horizontally or vertically, latency, throughput).