Topic on Extension talk:Scribunto

Mohammad (talkcontribs)

Hello,

I'm trying to run Scribunto on a Shared-Hosting server with DirectAdmin control panel.

I have root access to the server, I want to run directadmin and get Lua as well, but after installing it and removing this php function from disallowed one, I still get this error :

proc_open(/dev/null): failed to open stream: Operation not permitted

Permissions for Lua run folder is set, as well for /dev/null. Still getting this error

Jackmcbarn (talkcontribs)

Can you post your LocalSettings.php? (Redact sensitive stuff like passwords first)

Mohammad (talkcontribs)
93.146.44.171 (talkcontribs)

Hi. Have anyone solve this error? I have the same problem, nut I don't know how to solve it. Thanks Joel

Mohammad (talkcontribs)

Shared hosting is the problem, setup an Apache server manually and it'll work.

93.146.44.171 (talkcontribs)

My apache server is not in a shared hosting... I'm working in localhost

Which settings you have made to httpd.conf to get it works?

Mohammad (talkcontribs)

What's your operating system? You should install the requirements in Scribunto page and give em permission.

CalNation (talkcontribs)

Can you plz explain what you mean by "and give em permission"? Aside from what's mentioned in the installation regarding giving lua binaries permission, is there anything else we need to do?

Mohammad (talkcontribs)

@Calexit "give em permission" is referring to you need to give permission to the of the library of your OS:

chmod a+x /path/to/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua

and remember, if you're using control panels like Directadmin or Cpanel, you'll have problems if you allow proc_open, for me it only worked in a Linux running Apache.

Reply to "proc_open failed"