Problem mit open_basedir

Apache, Lighttpd, nginx, Cherokee
theanimal
Posts: 9
Joined: 2012-03-13 08:27
 

Problem mit open_basedir

Post 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.
jan10001
Anbieter
Posts: 749
Joined: 2004-01-02 12:17
 

Re: Problem mit open_basedir

Post by jan10001 »

Welche Zugriffsrechte Rechte bestehen für folgende Verzeichnisse?

/tmp
/srv/www/vhosts/Domain2/tmp
User avatar
rudelgurke
Posts: 409
Joined: 2008-03-12 05:36
 

Re: Problem mit open_basedir

Post 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.