permission denied on GD2 file_put_contents
Hi - I am attempting to write dynamically generated files to my server using GD2 within codeigniter's PHP framework. I've checked the file permissions on the directory and they don't seem to be a problem (755).
Here is the error
Message: file_put_contents(img/uploads/img80.png): failed to open stream: Permission denied
and here is the code that attempts to write the file
any idea of what might be causing the permission denied error?