[error] 14066#0: *168 FastCGI sent in stderr: "PHP message: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0Unable to open primary script: index.php (Permission denied)" while reading response header from upstream, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:"
- Open the
/etc/selinux/config
file and set theSELINUX
mod todisabled
- Save the file and reboot your CentOS system
- Check status