I'm trying to upload images to the server via a form and move_uploaded_file. I've done this before but never had these errors. When I upload I get error messages that say 'Unable to create 'images/photo_name.jpg': permission denied' and 'Unable to move'. I've had this problem before and fixed it with chmod but when I do that I get 'chmod failed: opration not permitted in 'path to script that uploads photo'.
It seems to me that the upload image script doesn't have permission to execute image uploads or to change file permissions. Could it be a php configuration setting or maybe setting the permissions on this file to execute? I'm not really sure.
Any help narrowing this down is appreciated.