

lua5.1.dll, an embeddable Lua interpreter that gets installed.(For me, C:\Program Files\PHP\v8.0\ext\.) php_luasandbox.dll, a PHP extension module that goes wherever the rest of your extensions are.After extraction, only two files are important: The trick was, I abandoned the luaStandalone binary entirely, and instead downloaded the (just released less than 2 months ago) PHP luaSandbox extension from PECL: Ĭlick on "DLL", then choose the build that matches your PHP install (for me it was PHP 8.0, 圆4, non-thread safe - the details are at the very top of the long, long output of php.exe -i from a command line), and download the provided zip file. So, I was sort of playing along at home with this, having become curious about the issue, and I did finally get Lua working under IIS on Windows 10, with PHP 8.0. Line 95 of LuaStandaloneInterpreter.php shows: I noted that the "LuaStandalonelua5.1.exe" had a missing \. wiki/index.php?title=Test&action=submit MWException from line 95 of D:\xampp\htdocs\wiki\extensions\Scribunto\includes\engines\LuaStandalone\LuaStandaloneInterpreter.php: The lua binary (D:\xampp\htdocs\wiki\extensions\Scribunto\includes\engines\LuaStandalonelua5.1.exe) is not executable. $wgDebugLogFile = "D:/log/debug- code, and the error showed: $wgScribuntoDefaultEngine = 'luastandalone' As per the manual, I have in my LocalSettings.php:

After installing the usual extensions, I run into a problem with Scribunto. I have a fresh install of WikiMedia version 1.35, running on IIS (Windows 2016. I have tried many versions of 9.11, 9.12, and 9.7, no dice.(I'm still new to Wiki, so excuses if this is the wrong forum/format/question, but please bare with me.) I have put lua51 in the directory of the emulator as well. I have set the path to the containing folder of lua51.dll. I've tried using Source Forge's 5.1.5 dll of lua51.dll, still no dice I am running windows 10 pro 圆4 bit, if that could make a difference. I have a feeling that I have forgotten a key step, but there's hardly any documentation out there to explain how to set this up! I tried this on multiple emulators, including 64 and 32 bit emulators. I downloaded and compiled a source code binary, as well as the lua binary within it at the same time, but when I set my path to direct to lua's containing folder, it still show the error: lua51.dll was not found.ĭo I need some kind of Microsoft Redistrubable or a package to make this work? I have c++ 2010 64 bit and 2010 x86. Hello, I'm having a problem with lua51 on stable releases and source code.
