Thread:Extension talk:Scribunto/interpreter exited with status 2.

Hi, I'm trying to use lua on my wiki, it's running 1.21 I try creating a test page with

local p = {} function p.hello( frame ) return "Hello, world!" end return p

after I click save I get a message "Script error: Lua error: Internal error: The interpreter exited with status 2." and the page does not get created, I've logged in from the command line and I do have lua 5.1 installed.