php problem on Plesk

Have a look at this

I am running a simple Php upload script from http://www.phpscriptcenter.com/uploader.php3

My Url to the script is :http://www.swifthosts.net/phpupload/uploader.php3

It gives me this error.

Warning: SAFE MODE Restriction in effect. The script whose uid is 10003 is not allowed to access /tmp/phpIeAgz8 owned by uid 0 in /usr/local/plesk/apache/vhosts/swifthosts.net/httpdocs/phpupload/uploader.php3 on line 83

10003 is uid of the user of the site
0 - is uid of root,

I saw that /tmp folder is owned root. This seems to be problem, i think

If i do chown and chgrp /tmp as nobody it may work i feel but i dont know if it is safe and i should be doing it

I am also not sure i had created /tmp earlier as root.

Please help me find why the script does not seem to work


Regards

Manish Kapadia

 

 

 

 

Top