open_basedir restriction in effect. File(/usr/share/php/PEAR

Apache, Lighttpd, nginx, Cherokee
Post Reply
umbroboy
Posts: 258
Joined: 2005-05-11 11:49
 

open_basedir restriction in effect. File(/usr/share/php/PEAR

Post by umbroboy »

Hallo,

habe versucht von horde das framework zu installieren und das hat auch soweit geklappt. Allerdings bekomme ich diese Fehlermeldung:



Warning: main(): open_basedir restriction in effect. File(/usr/share/php/PEAR.php) is not within the allowed path(s): (/home/www/web0/html/:/home/www/web0/phptmp/:/home/www/web0/files/:/home/www/web0/atd/) in /home/www/web0/html/horde/lib/core.php on line 26

Warning: main(PEAR.php): failed to open stream: Operation not permitted in /home/www/web0/html/horde/lib/core.php on line 26

Warning: main(): Failed opening 'PEAR.php' for inclusion (include_path='.:/usr/share/php') in /home/www/web0/html/horde/lib/core.php on line 26

Warning: main(): open_basedir restriction in effect. File(/usr/share/php/Horde.php) is not within the allowed path(s): (/home/www/web0/html/:/home/www/web0/phptmp/:/home/www/web0/files/:/home/www/web0/atd/) in /home/www/web0/html/horde/lib/core.php on line 29

Warning: main(Horde.php): failed to open stream: Operation not permitted in /home/www/web0/html/horde/lib/core.php on line 29

Warning: main(): Failed opening 'Horde.php' for inclusion (include_path='.:/usr/share/php') in /home/www/web0/html/horde/lib/core.php on line 29

Warning: main(): open_basedir restriction in effect. File(/usr/share/php/Horde/Registry.php) is not within the allowed path(s): (/home/www/web0/html/:/home/www/web0/phptmp/:/home/www/web0/files/:/home/www/web0/atd/) in /home/www/web0/html/horde/lib/core.php on line 30

Warning: main(Horde/Registry.php): failed to open stream: Operation not permitted in /home/www/web0/html/horde/lib/core.php on line 30

Warning: main(): Failed opening 'Horde/Registry.php' for inclusion (include_path='.:/usr/share/php') in /home/www/web0/html/horde/lib/core.php on line 30

Warning: main(): open_basedir restriction in effect. File(/usr/share/php/Horde/String.php) is not within the allowed path(s): (/home/www/web0/html/:/home/www/web0/phptmp/:/home/www/web0/files/:/home/www/web0/atd/) in /home/www/web0/html/horde/lib/core.php on line 31

Warning: main(Horde/String.php): failed to open stream: Operation not permitted in /home/www/web0/html/horde/lib/core.php on line 31

Warning: main(): Failed opening 'Horde/String.php' for inclusion (include_path='.:/usr/share/php') in /home/www/web0/html/horde/lib/core.php on line 31

Warning: main(): open_basedir restriction in effect. File(/usr/share/php/Horde/NLS.php) is not within the allowed path(s): (/home/www/web0/html/:/home/www/web0/phptmp/:/home/www/web0/files/:/home/www/web0/atd/) in /home/www/web0/html/horde/lib/core.php on line 32

Warning: main(Horde/NLS.php): failed to open stream: Operation not permitted in /home/www/web0/html/horde/lib/core.php on line 32

Warning: main(): Failed opening 'Horde/NLS.php' for inclusion (include_path='.:/usr/share/php') in /home/www/web0/html/horde/lib/core.php on line 32

Warning: main(): open_basedir restriction in effect. File(/usr/share/php/Horde/Notification.php) is not within the allowed path(s): (/home/www/web0/html/:/home/www/web0/phptmp/:/home/www/web0/files/:/home/www/web0/atd/) in /home/www/web0/html/horde/lib/core.php on line 33

Warning: main(Horde/Notification.php): failed to open stream: Operation not permitted in /home/www/web0/html/horde/lib/core.php on line 33

Warning: main(): Failed opening 'Horde/Notification.php' for inclusion (include_path='.:/usr/share/php') in /home/www/web0/html/horde/lib/core.php on line 33

Warning: main(): open_basedir restriction in effect. File(/usr/share/php/Horde/Auth.php) is not within the allowed path(s): (/home/www/web0/html/:/home/www/web0/phptmp/:/home/www/web0/files/:/home/www/web0/atd/) in /home/www/web0/html/horde/lib/core.php on line 34

Warning: main(Horde/Auth.php): failed to open stream: Operation not permitted in /home/www/web0/html/horde/lib/core.php on line 34

Warning: main(): Failed opening 'Horde/Auth.php' for inclusion (include_path='.:/usr/share/php') in /home/www/web0/html/horde/lib/core.php on line 34

Warning: main(): open_basedir restriction in effect. File(/usr/share/php/Horde/Browser.php) is not within the allowed path(s): (/home/www/web0/html/:/home/www/web0/phptmp/:/home/www/web0/files/:/home/www/web0/atd/) in /home/www/web0/html/horde/lib/core.php on line 35

Warning: main(Horde/Browser.php): failed to open stream: Operation not permitted in /home/www/web0/html/horde/lib/core.php on line 35

Warning: main(): Failed opening 'Horde/Browser.php' for inclusion (include_path='.:/usr/share/php') in /home/www/web0/html/horde/lib/core.php on line 35

Warning: main(): open_basedir restriction in effect. File(/usr/share/php/Horde/Perms.php) is not within the allowed path(s): (/home/www/web0/html/:/home/www/web0/phptmp/:/home/www/web0/files/:/home/www/web0/atd/) in /home/www/web0/html/horde/lib/core.php on line 36

Warning: main(Horde/Perms.php): failed to open stream: Operation not permitted in /home/www/web0/html/horde/lib/core.php on line 36

Warning: main(): Failed opening 'Horde/Perms.php' for inclusion (include_path='.:/usr/share/php') in /home/www/web0/html/horde/lib/core.php on line 36

The Horde_Util package was not found. If PHP's error_reporting setting is high enough, there should be error messages printed above that may help you in debugging the problem. If you are simply missing these files AND are installing a CVS checkout, then you need to get the framework module from Horde CVS, and install the packages in it with the install-packages.php script.

Wer kann mir helfen? oder hat ne idee woran es liegt?

VIelen Dank schonmal
kuntho
Posts: 149
Joined: 2004-10-27 14:22
Location: Küps
Contact:
 

Re: open_basedir restriction in effect. File(/usr/share/php/PEAR

Post by kuntho »

Ich unterstelle mal, dass das ein CONFIXX - gemanagtes Sytem ist, so wie die Pfade in den Fehlermeldungen aussehen.

In dem Fall kannst Du in der Admin - Oberfläche unter HTTPD-SPECIAL für den entsprechenden User (web0) folgendes definieren:

Code: Select all


php_admin_value open_basedir /home/www/web0/html/:/home/www/web0/phptmp/:/home/www/web0/files/:/home/www/web0/atd/:/usr/share/php

umbroboy
Posts: 258
Joined: 2005-05-11 11:49
 

Re: open_basedir restriction in effect. File(/usr/share/php/PEAR

Post by umbroboy »

Hallo,

okay habs.

jetzt hab ich aber ein neues Problem. Entweder ich mach den Safe mode aus oder ich ändere die uid 1001 zu uid0


Warning: main(): SAFE MODE Restriction in effect. The script whose uid is 1001 is not allowed to access /usr/share/php/PEAR.php owned by uid 0 in /home/www/web0/html/horde/lib/core.php on line 26

Was meinst du?
jhnet
Posts: 98
Joined: 2004-07-20 11:43
 

Re: open_basedir restriction in effect. File(/usr/share/php/PEAR

Post by jhnet »

Hallo,

safe_mode ausschalten für diesen Nutzer bzw. die Domain ist eine Möglichkeit.
Ich hab für Horde ein extra Verzeichnis angelegt in dem ich auch die PEAR Dateien abgelegt habe die nun allesamt dem richtigen User gehören.

Bye,
Jörg
umbroboy
Posts: 258
Joined: 2005-05-11 11:49
 

Re: open_basedir restriction in effect. File(/usr/share/php/PEAR

Post by umbroboy »

Hi,

habe den safemode ausgemacht.

Danke auch für den Tipp.

WIe bist du mit diesem PECL zurecht gekommen, oder hast du die pakete ausgelassen?

dachte ich muss diese über pear installieren:

pear install fileinfo

allerdings bekomm ich dann eine phpsize fehlermeldung...
Post Reply