I'm trying to set up drupal on my local machine but when I'm going to run the installation script I get access denied and I get error messages in my log files.
In php-fpm/www-error.log
[12-Jul-2018 09:05:10 UTC] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
And in httpd/error.log
[Thu Jul 12 11:05:10.936497 2018] [proxy_fcgi:error] [pid 14538:tid 139710336833280] [client ::1:41360] AH01071: Got error 'Unable to open primary script: /var/www/html/install.php (Permission denied)
'
I created test.php in the same directory and that file works fine. All files in have the permission 777.