Confixx: manchmal oben_basedir-restriction

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
markusk
Posts: 140
Joined: 2003-05-04 20:14

Confixx: manchmal oben_basedir-restriction

Post by markusk »

Hallo
Confixx und PHPMyAdmin bringen auf unserm Server manchmal folgenden Fehler, obwohl wir in den Apache-Configs nichts geändert haben:
Warning: Unknown(): open_basedir restriction in effect. File(/home/www/confixx/html/admin/statistik_kunden2.php) is not within the allowed path(s): (/home/www/web1/) in Unknown on line 0
bzw.
Warning: Unknown(): open_basedir restriction in effect. File(/home/www/confixx/html/phpmyadmin/index.php) is not within the allowed path(s): (/home/www/web1/) in Unknown on line 0
Und zwar immer mit web1, auch wenn man sich als root anmeldet.

Weiß einer, warum das so ist?

Gruß Markus
hossa
Posts: 7
Joined: 2003-09-30 09:05

Re: Confixx: manchmal oben_basedir-restriction

Post by hossa »

standardmäßig dürfen deine php-scripte nur im eigenen home-verzeichnis rumwurschteln. da ist das phpmyadmin wohl irgendwie im falschen verzeichnis installiert, wenn ich das richtig interpretiere.

im notfalls kannst du aber in der php.ini die open_basedir-restriction ausschalten (allerdings würde ich das nur tun, wenn du der einzige bist, der auf den server zugriff hat).

guckst du hier:
http://www.php.net/manual/de/features.safe-mode.php
markusk
Posts: 140
Joined: 2003-05-04 20:14

Re: Confixx: manchmal oben_basedir-restriction

Post by markusk »

Aber der Fehler kommt bei Confixx ja auch! Und das alles erst, seitdem ich den neuen Kunden angelegt hab.
markusk
Posts: 140
Joined: 2003-05-04 20:14

Re: Confixx: manchmal oben_basedir-restriction

Post by markusk »

Der Witz: F5 beseitig das Problem dann, dann gehts mal wieder ein paar Minuten, und irgendwann kommts wieder.... Was kann das nur sein??
markusk
Posts: 140
Joined: 2003-05-04 20:14

Re: Confixx: manchmal oben_basedir-restriction

Post by markusk »

hat keine ne Idee?
gladi
Posts: 17
Joined: 2003-09-18 20:36

Re: Confixx: manchmal oben_basedir-restriction

Post by gladi »

Diesen Code musst du in deine httpd.conf in den VirtualHost einfügen, welche für Confixx bestimmt ist.

Code: Select all

php_admin_value open_basedir none
weiteres hierzu findest du aber auch im Confixx Supportforum.
Outlaw
Posts: 1500
Joined: 2002-12-04 10:22
Location: 4. Server von rechts, 2. Reihe von oben

Re: Confixx: manchmal oben_basedir-restriction

Post by Outlaw »

Kann auch sein, daß register_globals = On sein muss, damit Confixx richtig funzt, is aber schon ne Weile her, daher ohne Gewähr ....

Gruß Outi
:D Gruß Outi :D
markusk
Posts: 140
Joined: 2003-05-04 20:14

Re: Confixx: manchmal oben_basedir-restriction

Post by markusk »

au super, danke! Gladi, dein Tip hat geholfen.

Für alle anderen: Das scheint ein Fehler in PHP zu sein: http://bugs.php.net/bug.php?id=25753

Gruß Markus
Post Reply