htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/files/domain.com/public_html/images/' is executable
Today I faced this problem. I transferred public_html from the old drive to new one and chown like this:
chown -R owner:owner public_html
This is correct for sub directories and files inside public_html, but the user of public_html must be nobody so apache can check it's content, so this solved my problem:
chown owner:nobody public_html
Note: owner is the user (for example web1)
I had the same problem. For me, it's a problem of SeLinux (CentOS 7).
It works for me:
$ setsebool -P httpd_enable_homedirs true$ chcon -R -t httpd_sys_content_t /var/www/html/
Note that you should change the above /var/www/html/
to an appropriate directory.
I was using Plesk onyx and I got the same error message, I just changed the folder permission to 775 and it worked for me.