Tutorial :PHP “The upload destination folder does not appear to be writable”



Question:

When I try to upload a file on my localhost version of the website it gives me the following message: "The upload destination folder does not appear to be writable"

The upload functionality is working perfectly on production server.

I checked the permissions of the destination folder about million times still getting the error also tried changing httpd and destination folder user/group with no luck.

The "is_writable" PHP function is returning false.... what am I missing ?

I am using fedora 13, Apache 2.2.15 and PHP 5.3.2

Thanks for your help

Wa'el


Solution:1

if you are writing something your linux exec command then you have to turn PHP_Safe_MOD OFF in your setting. some times we use exec() command to perform operation. Just give it try. hope it would work.

Other thing you can do is try to change the permission Recursively 777 on the parent directory.

/a/b/c

chmod -R 777 a


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »