function.copy: failed to open stream: Permission denied
- Forums
- Linux Hosting
- function.copy: failed to open stream: Permission denied
This Page Contains information about function.copy: failed to open stream: Permission denied By shutail in category Linux Hosting with 2 Replies. [1170], Last Updated: Mon Jun 24, 2024
shutail
Tue Apr 01, 2008
2 Comments
2608 Visits
hi, you know what, i was working on a gallery script with php and mysql
im hosting with you guys and i was told that its because of my webhosting
please fix this
thanks you
im sorry to tell you, but this is not something we do.
you need to manage your files, we do not access your files, please read the terms and conditions for your web hosting..
however, we can help you on how to fix this.. or atleast explain to you why you are getting this error.
function.copy: failed to open stream: Permission denied
this just basically means that the script is trying to put an image file in whatever directory you have configured for your images to go to. so this is just like saying:
I CAN'T PUT THE FILE IN THIS DIRECTORY, I DONT HAVE PERMISSION
so you just have to give it permission.
what kind or type of permission.. well. login to your website with the ftp account we gave you and change the permissions to 777 to the directory where all your images to go and thats it.
777 permissions mean, anyone can write to that directory, and apache will have permission to put files in the directory so you wont get this error anymore.