Ich bin gerade beim Einrichten eines MediaWiki-Projektes. Als ich die beiden Erweiterungen Scribunto und SyntaxHighlight_GeSHi auf meinen Server geladen und aktiviert habe, habe ich einige Fehlermeldungen erhalten.
PHP-Fehlermeldung von der Erweiterung Scribunto:
Code
Warning: proc_open(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/var/www/vhosts/hostingxxxxxx.xxxxx.netcup.net/httpdocs/:/tmp/:/var/lib/php5/sessions:/var/www/vhosts/hostingxxxxxx.xxxxx.netcup.net/tmp) in /var/www/vhosts/hostingxxxxxx.xxxxx.netcup.net/httpdocs/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php on line 269
Warning: proc_open(/dev/null): failed to open stream: Operation not permitted in /var/www/vhosts/hostingxxxxxx.xxxxx.netcup.net/httpdocs/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php on line 269
Auf der Seite erschien außerdem noch eine LUA-Fehlermeldung:
Code
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
PHP-Fehlermeldung von der Erweiterung SyntaxHighlight_GeSHi:
Code
Warning: is_executable(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/var/www/vhosts/hostingxxxxxx.xxxxx.netcup.net/httpdocs/:/tmp/:/var/lib/php5/sessions:/var/www/vhosts/hostingxxxxxx.xxxxx.netcup.net/tmp) in /var/www/vhosts/hostingxxxxxx.xxxxx.netcup.net/httpdocs/includes/shell/Command.php on line 312
Da es im WCP bei den PHP-Einstellungen unter open_basedir nur zwei Optionen gibt, bin ich mir nicht sicher, ob ich dieses Problem überhaupt lösen kann. Was kann ich tun, damit MediaWiki Zugriff auf /dev/null und /bin/bash hat? Ich verwende übrigens das Webhostingpacket Webhosting 1000 und PHP 7.2.