OK, I don't think I quite understand how open_basedir works. If there is a path in the "allowed paths", shouldn't copy() work for any folders in a sub-folder of that path? Here is the error I am getting: Warning: copy(): open_basedir restriction in effect. File(/home/plesk/home/vhosts/mydomain.com/httpdocs/sdrww/images/12345.jpg) is not within the allowed path(s): (/home/httpd/vhosts/mydomain.com/httpdocs:/tmp) in ... Do I have to specifically include /home/plesk/home/vhosts/mydomain.com/httpdocs/sdrww/images in the allowed paths? Or should hit work already? Thanks, Peter.