Dynamic Content Caching using Lighty + mod_magnet + lua

*Updated 11 Jan 2007 to include luazlib, fix lighty config file and add zlib decoding to cache.lua for older browsers
Since I read the documentations for mod_cml, I was very excited to use this module since caching using PHP running as FastCGI is not helping much during server peak load. However, mod_cml was replaced by mod_magnet which is more flexible and gives more control over request handling in Lighttpd. This Article will focus on caching your PHP scripts using Lua and mod_magnet under Lighttpd,

install / compile MYSQL 5 on RHEL / CentOS 4

There not much performance difference between MYSQL 4 and 5 as far as you’re not using mysqli ext for your PHP scripts, but it nice to find rpms ready on which makes the job much easier.