Hallo !
Leider habe ich ein echtes Problem. Ich habe bei 'server4you' einen virtuellen Server.
Mit Confixx habe ich einen neuen Benutzer angelegt.
Leider habe ich Probleme mit dem includieren von Php - Skripten aus einem anderen Verzeichnis.
Anschauen kann man sich die ganze Sache unter
http://www.spickliste.de/
Im Php - Skript ist eine Datei includiert include_once('../lib/php/class.smarttemplate.php');
Die Fehlermeldung lautet
Warning: output(): open_basedir restriction in effect. File(/srv/www/web3/html/lib/php/class.smarttemplateparser.php) is not within the allowed path(s): (/srv/www/web7/:/srv/www/htdocs/phpmyadmin/:/srv/www/confixx/html/gesperrt/) in /srv/www/web7/html/lib/php/class.smarttemplate.php on line 270
Wer kann helfen ?
M.f.G.
Stephan
open_basedir restriction in effect
-
captaincrunch
- Userprojekt

- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
- Contact:
Re: open_basedir restriction in effect
Steht doch alles im Klartext dort:
File(/srv/www/web3/html/lib/php/class.smarttemplateparser.php) is not within the allowed path(s): (/srv/www/web7/:/srv/www/htdocs/phpmyadmin/:/srv/www/confixx/html/gesperrt/) in /srv/www/web7/html/lib/php/class.smarttemplate.php on line 270
File(/srv/www/web3/html/lib/php/class.smarttemplateparser.php) is not within the allowed path(s): (/srv/www/web7/:/srv/www/htdocs/phpmyadmin/:/srv/www/confixx/html/gesperrt/) in /srv/www/web7/html/lib/php/class.smarttemplate.php on line 270
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
guckst du hier!
Nur so als Ergänzung:
http://de.php.net/features.safe-mode
und weil ich nett bin
http://de.php.net/features.safe-mode
und weil ich nett bin
open_basedir string
Limit the files that can be opened by PHP to the specified directory-tree, including the file itself. This directive is NOT affected by whether Safe Mode is turned On or Off.
When a script tries to open a file with, for example, fopen() or gzopen(), the location of the file is checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All symbolic links are resolved, so it's not possible to avoid this restriction with a symlink.
The special value . indicates that the directory in which the script is stored will be used as base-directory.
Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon. As an Apache module, open_basedir paths from parent directories are now automatically inherited.
The restriction specified with open_basedir is actually a prefix, not a directory name. This means that "open_basedir = /dir/incl" also allows access to "/dir/include" and "/dir/incls" if they exist. When you want to restrict access to only the specified directory, end with a slash. For example: "open_basedir = /dir/incl/"
Support for multiple directories was added in 3.0.7.
The default is to allow all files to be opened.