I got a folder in my server where i need to write data dynamically, and the data should be also visile to the viewers, though they will not be served directly.
I will add the data from those file by PHP and will server them,
What should be the permission for this folder ?
If i use anything other than 777 it shows an ERROR on my local machine [i’m root there]
I got a folder in my server where i need to write data dynamically,
Share
The directory needs to be owned (or writable and readable) by the user under which Apache runs. The user is likely to be something like
apacheorwww-dataorhttpd. Find out the apache user and then set ownership: