Jump to content

Manual talk:BoxedCommand

About this board

How set environment variables

1
Cheellaz (talkcontribs)

I am new to MediaWiki and this extension, please be gentle :-)


I am using Mediawiki 1.39.4 and observes Errors in the log. Example:

[exec] Error running /bin/bash '.../mediawiki/vendor/wikimedia/shellbox/src/Command/limit.sh' ... ... python3: error while loading shared libraries: libpython3.8.so.1.0: cannot open shared object file: No such file or directory


The webserver I am using have libraries installed in a non-standard path. How do I set environment variables like `LD_LIBRARY_PATH` for my MediaWiki installation so ShellBox/BoxedCommand can find the libraries?

Reply to "How set environment variables"
Alex Mashin (talkcontribs)

Is it possible to pipe a PHP string directly to command's standard input, without using temporary files?
Alexander Mashin talk 05:46, 14 October 2021 (UTC)

Legoktm (talkcontribs)

Yes, $command->stdin(...) should work.

Reply to "stdin"
There are no older topics