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:
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
Folgendes steht in der vhost:
<Directory "/srv/www/htdocs/web18/html">
Options -FollowSymLinks -SymLinksIfOwnerMatch
<IfModule mod_access.c>
Allow from all
</IfModule>
</Directory>
wobei die 2. Variante wohl besser wäre. Nicht umsonst fügt Confixx in die httpd.conf die Zeile
Zitat:
php_admin_value upload_tmp_dir /srv/www/htdocs/web18/phptmp/