mod_pLua is an Apache2 module for running preprocessed Lua scripts using a PHP-like syntax: .
mod_pLua precompiles all scripts and caches the compiled binary code so that each new call to the same file will be lightning fast.
Mod_pLua supports both the traditional Lua interpreter as well as LuaJIT for both Windows and UNIX platforms.
If your web server supports it, mod_pLua also utilizes APR_DBD to handle databases through the dbopen() Lua function. And last, but not least, mod_pLua is of course thread-safe.