This worked for me:
blog.lysender.com/2015/07/centos-7-selin...file-no-matter-what/
ls -Z /var/www/public_html/survey/tmp/
drwxr-xr-x. apache ***** unconfined_u:object_r:httpd_sys_content_t:s0 assets
-rw-r--r--. apache ***** unconfined_u:object_r:httpd_sys_content_t:s0 index.html
drwxr-xr-x. apache ***** unconfined_u:object_r:httpd_sys_content_t:s0 runtime
drwxr-xr-x. apache ***** unconfined_u:object_r:httpd_sys_content_t:s0 upload
ls -Z /var/www/public_html/survey/upload/
ls -Z /var/www/public_html/survey/application/config/
chcon -t httpd_sys_rw_content_t /var/www/public_html/survey/tmp -R
chcon -t httpd_sys_rw_content_t /var/www/public_html/survey/upload -R
chcon -t httpd_sys_rw_content_t /var/www/public_html/survey/application/config -R