lighttpd 1.4.31 is not compatible with lua 5.2.1
ASK QUESTIONS IN Forums:
The current lighttpd 1.4.31 uses several functions which are no longer present in lua 5.2.1:
- lua_getfenv and lua_setfenv from mod_magnet.c as documented in http://www.lua.org/manual/5.2/manual.html#8.1
- LUA_GLOBALSINDEX should be replaced with lua_getglobal(L, name) as described in http://lua-users.org/lists/lua-l/2010-05/msg00894.html
There may be other issues as I didn't verify the full functionality.
Also available in: Atom