Page 1 of 1

Problem mit open_basedir

Posted: 2012-03-15 08:11
by theanimal
Servus!
Mein aufgesetztes phpbb Streikt seit letzter Nacht.
Ich bekomme folgende Fehlermeldung/en:

Warning: include(): open_basedir restriction in effect. File(/srv/www/vhosts/Domain1/httpdocs/common.php) is not within the allowed path(s): (/srv/www/vhosts/Domain2/httpdocs/:/tmp/) in /srv/www/vhosts/Domain1/httpdocs/index.php on line 21 Warning: include(/srv/www/vhosts/Domain2/httpdocs/common.php): failed to open stream: Operation not permitted in /srv/www/vhosts/Domain1/httpdocs/index.php on line 21 Warning: include(): open_basedir restriction in effect.
.........



Für eine Hilfestellung wäre ich Euch sehr dankbar.

Re: Problem mit open_basedir

Posted: 2012-03-15 09:18
by jan10001
Welche Zugriffsrechte Rechte bestehen für folgende Verzeichnisse?

/tmp
/srv/www/vhosts/Domain2/tmp

Re: Problem mit open_basedir

Posted: 2012-03-15 09:36
by rudelgurke
Steht doch da was nicht will:
theanimal wrote:Servus!
/srv/www/vhosts/Domain1/httpdocs/common.php
...
/srv/www/vhosts/Domain2/httpdocs/:/tmp/
Scheint wohl als ob phpBB in .../Domain2/httpdocs/ installiert ist, aber Dateien aus .../Domain1/httpdocs lesen will, wo open_basedir dazwischen geht.

open_basedir also dementsprechend anpassen - wenn dass auch wirklich so gewünscht ist.