Page 1 of 1

Confixx: manchmal oben_basedir-restriction

Posted: 2003-10-01 13:16
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

Re: Confixx: manchmal oben_basedir-restriction

Posted: 2003-10-01 15:29
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

Re: Confixx: manchmal oben_basedir-restriction

Posted: 2003-10-01 15:32
by markusk
Aber der Fehler kommt bei Confixx ja auch! Und das alles erst, seitdem ich den neuen Kunden angelegt hab.

Re: Confixx: manchmal oben_basedir-restriction

Posted: 2003-10-01 23:05
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??

Re: Confixx: manchmal oben_basedir-restriction

Posted: 2003-10-05 12:36
by markusk
hat keine ne Idee?

Re: Confixx: manchmal oben_basedir-restriction

Posted: 2003-10-05 13:31
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.

Re: Confixx: manchmal oben_basedir-restriction

Posted: 2003-10-05 13:48
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

Re: Confixx: manchmal oben_basedir-restriction

Posted: 2003-10-05 14:20
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