Thread:Extension talk:Scribunto/Script error: Lua error: Internal error: The interpreter has terminated with signal "11"./reply

I finally fixed the issue with help from User:anomie on the #wikimedia-dev IRC channel. Signal 11" would tend to indicate that the standalone Lua interpreter that is shipped with the extension has crashed.

Instead, run the Lua interpreter that should already be pre-installed on your server. For some reason the Lua binaries packaged in the extension do not seem to work.

Run the lua command via SSH. Check that your server is running version 5.1.x. Note that for Scribunto the version has to be 5.1.x.

Lua's default installation path is in /usr/bin/lua.

Then in your LocalSettings.php set:

$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua';

to fix the issue.

If running the Lua command shows it as undefined, then you could try installing it with yum install lua, though I am not sure if the version would still be 5.1.x