Found the problem. It was due to the extra security in SE Linux (CentOS). I used this info to fix the problem... https://blog.lysender.com/2015/07/centos-7-selinux-php-apache-cannot-writeaccess-file-no-matter-what/
I am trying to install PrestaShop on a CentOS server, but can't get past the permissions check. I keep getting these errors. I have used chown to recursively set ownership to apache. ls -l yields the following... drwxr-xr-x. 26 apache apache 4096 Feb 19 22:02 public_html I've gone as far as temporarily setting permissions recursively to 777 for the entire directory, but same problem. Any help would be greatly appreciated!