[Support] keine Erlaubnis für das PEAR-Paket
Hans Steffen Schneider
hans.s.schneider at gmx.de
Sun Oct 22 16:39:30 CEST 2006
> Hallo Liste,
> beim Versuch, das Paket 'PEAR.php' mit 'require_once' aufzurufen, kommt
> im Browser folgende Fehlermeldung:
Warning: main(): open_basedir restriction in effect. File
(/usr/share/php/PEAR.php) is not within the allowed path(s):
(/home/pacs/hss00)
Warning: main(PEAR.php): failed to open stream: Operation not permitted
Fatal error: main(): Failed opening required 'PEAR.php'
(include_path='.:/usr/share/php:/usr/share/pear')
> hat einer eine Idee, was es damit auf sich hat?
hss00 at h02:/usr/share/php$ ls -l
total 164
drwxr-xr-x 2 root root 20 Jul 9 04:13 Archive
drwxr-xr-x 2 root root 23 Jul 9 04:13 Console
drwxr-xr-x 2 root root 4096 Jul 9 04:13 DB
-rw-r--r-- 1 root root 33812 Aug 25 2005 DB.php
drwxr-xr-x 2 root root 71 Oct 18 16:58 Date
-rw-r--r-- 1 root root 38400 Oct 18 16:58 Date.php
-rw-r--r-- 1 root root 7839 Aug 25 2005 HTTP.php
drwxr-xr-x 2 root root 87 Jul 9 04:13 Mail
-rw-r--r-- 1 root root 7331 Aug 25 2005 Mail.php
drwxr-xr-x 2 root root 38 Jul 9 04:13 Net
drwxr-xr-x 2 root root 22 Jul 9 04:13 OS
drwxr-xr-x 4 root root 4096 Jul 9 04:13 PEAR
-rw-r--r-- 1 root root 30154 Aug 25 2005 PEAR.php
-rw-r--r-- 1 root root 17972 Aug 25 2005 System.php
drwxr-xr-x 3 root root 47 Jul 9 04:13 XML
drwxr-xr-x 3 root root 17 Jul 9 04:13 data
drwxr-xr-x 6 root root 59 Oct 18 16:58 docs
-rw-r--r-- 1 root root 9809 Aug 25 2005 pearcmd.php
drwxr-xr-x 6 root root 58 Oct 18 16:58 tests
hss00 at h02:/usr/share/php$
> Gruss, Hans
More information about the Support
mailing list