Seems like apache/php has no rights to modify any files in admin/scripts (and probably all other 777 directories like cache...
Warning: touch(): Unable to create file /var/www/html/domain.com/admin/scripts/csv_photo_log_thread0.txt because Permission denied in /var/www/html/domain.com/admin/csv_photos_stats.php on line 21
Warning: chmod(): No such file or directory in /var/www/html/domain.com/admin/csv_photos_stats.php on line 26
I installed a program / script, and I followed their instructions of what files and folders should be chmod'ed to 777, so everything would work. I am now told that apache / php dont have rights necessary for the program to work (or certain aspects of it).
Can you tell me how would I go about this? How to check what permissions apache / php have, what they should be for the program to work, and how to adjust the settings.
It is a fresh / clean installation of the latest release of CentOS7. I am fairly new to this, so I am not sure how would I go about this.
I have SETFACL set on /var/www/html foleder. It looks like Apache / PHP cant get through this (or maybe /var/www) settings in order to do what is needed. I thought that the default settings of both would be ok (Apache Web Server / PHP), but I guess something does not work with this script. I have the newest version of Wordpress installed, and everything works as it should, 100).
getfacl /var/www/html gives something like this:
# file: var/www/html
# owner: root
# group: root
ther:r-x (this is default[colon]other[colon]r-x)
Like I said, I did chmod -R 777 on all required folders and files (this was recursively), based on the installation instructions. I kind of dont understand what sort of permission settings could be getting in the way... Like I said, Wordpress works 100% fine (newest version).