PHP Fatal error header.php

Please follow the below template, it will help us to help you!

I'm trying to set up pi-hole with my existing nginx webserver and

Expected Behaviour:

Php page renders at host/admin/

Actual Behaviour:

Browser displays 500 error

nginx has the following log error
2019/06/03 19:42:49 [error] 3935#3935: *15 FastCGI sent in stderr: "PHP message: PHP Warning: require(scripts/pi-hole/php/header.php): failed to open stream: Permission denied in /var/www/html/admin/index.php on line 9
PHP message: PHP Fatal error: require(): Failed opening required 'scripts/pi-hole/php/header.php' (include_path='.:/usr/share/php') in /var/www/html/admin/index.php on line 9" while reading response header from upstream, client: 82.14.199.232, server: home.lozbrown.site, request: "GET /admin/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "home.protazoa.com"

Debug Token:

https://tricorder.pi-hole.net/8eb6njmmbv

Any suggestions appreciated

This guide may be of assistance:

https://docs.pi-hole.net/guides/nginx-configuration/

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.