php报错:  [29-Apr-2012 22:36:14] PHP Warning:  Unknown: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/www/) 

 
in Unknown on line 0
[29-Apr-2012 22:36:14] PHP Warning:  File upload error - unable to create a temporary file in Unknown on line 0
 
 
解决: 在/www下建立/tmp 并赋予权限