open_basedir restriction in effect
Posted: 2006-07-31 15:08
Ich weiß das es hier mahrfach gefragt wurde nur ich komme mit den RTFM Kommentare nicht weit da es sehr schnell gehen muss und ich auf die schnelle nicht die Lösung rausfinden kann. Ich bitte darum und Hilfe die verständniss aufbringt für meine frage.
Also ich will eine Datei hochladen und bekomme dann folgende Fehlermeldung:
Ich würde mich freuen wenn man mir genau sagt wo ich was für einen hebel umlegen muss.
Danke
Gruß
Also ich will eine Datei hochladen und bekomme dann folgende Fehlermeldung:
Folgendes steht in der vhost:Warning: getimagesize(): open_basedir restriction in effect. File(/tmp/phpNT5Jfh) is not within the allowed path(s): (/srv/www/htdocs/web18/html/:/srv/www/htdocs/web18/phptmp/:/srv/www/htdocs/web18/files/:/srv/www/htdocs/web18/atd/) in /srv/www/htdocs/web18/html/admin/savebanner.php on line 47
Warning: getimagesize(/tmp/phpNT5Jfh): failed to open stream: Operation not permitted in /srv/www/htdocs/web18/html/admin/savebanner.php on line 47
Warning: copy(): open_basedir restriction in effect. File(/tmp/phpNT5Jfh) is not within the allowed path(s): (/srv/www/htdocs/web18/html/:/srv/www/htdocs/web18/phptmp/:/srv/www/htdocs/web18/files/:/srv/www/htdocs/web18/atd/) in /srv/www/htdocs/web18/html/admin/savebanner.php on line 160
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web18/html/admin/savebanner.php:47) in /srv/www/htdocs/web18/html/admin/savebanner.php on line 162
Mein frage was muss ich wo wie ändern? Der safe mod ist auf OFF auch in confixx ist es auch auch offgestellt.<Directory "/srv/www/htdocs/web18/html">
Options -FollowSymLinks -SymLinksIfOwnerMatch
<IfModule mod_access.c>
Allow from all
</IfModule>
</Directory>
<VirtualHost xx.xx.xx.24:80>
ServerName xxxxxxxx.de
ServerAlias http://www.xxxxxxx.de web18.hxxxx.serverkompetenz.net
DocumentRoot /srv/www/htdocs/web18/html
SuexecUserGroup web18 web18
ScriptAlias /cgi-bin/ /srv/www/htdocs/web18/html/cgi-bin/
php_admin_value open_basedir /srv/www/htdocs/web18/html/:/srv/www/htdocs/web18/phptmp/:/srv/www/htdocs/web18/files/:/srv/www/htdocs/web18/atd/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /srv/www/htdocs/web18/phptmp/
php_admin_value safe_mode off
</VirtualHost>
Ich würde mich freuen wenn man mir genau sagt wo ich was für einen hebel umlegen muss.
Danke
Gruß