User:Flominator/Upload problems

1. Setting up MediaWiki 1.6.7

 * Copied files to directory
 * Extracted files
 * Installed MediaWiki sucessfully

2. Enabling uploads
$wgEnableUploads		= true; causes: Warning: fopen [function.fopen]: open_basedir restriction in effect. File(/tmp/phpGle2sM) is not within the allowed path(s): (/srv/www/vhosts/my.sub.domain/htdocs) in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 47

Warning: fopen(/tmp/phpGle2sM) [function.fopen]: failed to open stream: Operation not permitted in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 47

Warning: fseek: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 102

Warning: fread: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 103

Warning: fclose: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 85

Warning: fopen [function.fopen]: open_basedir restriction in effect. File(/tmp/phpGle2sM) is not within the allowed path(s): (/srv/www/vhosts/my.sub.domain/htdocs) in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MimeMagic.php on line 343

Warning: fopen(/tmp/phpGle2sM) [function.fopen]: failed to open stream: Operation not permitted in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MimeMagic.php on line 343
 * Result: The file is corrupt or has an incorrect extension. Please check the file and upload again.

3. Deactivating MimeTimeCheck
$wgVerifyMimeType = false causes:

Warning: fopen [function.fopen]: open_basedir restriction in effect. File(/tmp/phpS256mL) is not within the allowed path(s): (/srv/www/vhosts/my.sub.domain/htdocs) in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 47

Warning: fopen(/tmp/phpS256mL) [function.fopen]: failed to open stream: Operation not permitted in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 47

Warning: fseek: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 102

Warning: fread: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 103

Warning: fclose: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 85

Warning: fopen [function.fopen]: open_basedir restriction in effect. File(/tmp/phpS256mL) is not within the allowed path(s): (/srv/www/vhosts/my.sub.domain/htdocs) in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MimeMagic.php on line 343

Warning: fopen(/tmp/phpS256mL) [function.fopen]: failed to open stream: Operation not permitted in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MimeMagic.php on line 343

Warning: fopen [function.fopen]: open_basedir restriction in effect. File(/tmp/phpS256mL) is not within the allowed path(s): (/srv/www/vhosts/my.sub.domain/htdocs) in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 844

Warning: fopen(/tmp/phpS256mL) [function.fopen]: failed to open stream: Operation not permitted in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 844

Warning: fread: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 845

Warning: fclose: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 846

Warning: move_uploaded_file [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/phpS256mL) is not within the allowed path(s): (/srv/www/vhosts/my.sub.domain/htdocs) in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 417

Warning: move_uploaded_file(/tmp/phpS256mL) [function.move-uploaded-file]: failed to open stream: Operation not permitted in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 417

Warning: move_uploaded_file [function.move-uploaded-file]: Unable to move '/tmp/phpS256mL' to '/srv/www/vhosts/my.sub.domain/htdocs/utwiki/images/temp/20070306112520!Hunde_skal_foeres_i_snor_2.jpg' in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 417


 * Result: Internal Error' - Could not copy file "/tmp/php0EMcxx" to "/srv/www/vhosts/my.sub.domain/htdocs/utwiki/images/temp/20070306134301!Hunde_skal_foeres_i_snor_1.jpg".

4. Creating directories
md /images/temp md /images/archive md /images/thumb

causes

Warning: fopen [function.fopen]: open_basedir restriction in effect. File(/tmp/phpwLRJkP) is not within the allowed path(s): (/srv/www/vhosts/my.sub.domain/htdocs) in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 47

Warning: fopen(/tmp/phpwLRJkP) [function.fopen]: failed to open stream: Operation not permitted in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 47

Warning: fseek: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 102

Warning: fread: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 103

Warning: fclose: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MacBinary.php on line 85

Warning: fopen [function.fopen]: open_basedir restriction in effect. File(/tmp/phpwLRJkP) is not within the allowed path(s): (/srv/www/vhosts/my.sub.domain/htdocs) in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MimeMagic.php on line 343

Warning: fopen(/tmp/phpwLRJkP) [function.fopen]: failed to open stream: Operation not permitted in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/MimeMagic.php on line 343

Warning: fopen [function.fopen]: open_basedir restriction in effect. File(/tmp/phpwLRJkP) is not within the allowed path(s): (/srv/www/vhosts/my.sub.domain/htdocs) in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 844

Warning: fopen(/tmp/phpwLRJkP) [function.fopen]: failed to open stream: Operation not permitted in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 844

Warning: fread: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 845

Warning: fclose: supplied argument is not a valid stream resource in /srv/www/vhosts/my.sub.domain/htdocs/utwiki/includes/SpecialUpload.php on line 846


 * Result: Successful upload

Problem
I can upload files and create thumbnails, but how do I get rid of these warnings?