File SUSE.readme of Package pihole-admin-lte
AdminLTE provides a web UI that can be used to monitor parts of what Pi-hole does. It’s been done with PHP, and subsequently requires PHP to work. There is two subpackages that have some ready configuration for convenience: pihole-admin-lte-config-php-fpm ------------------------------- pihole-admin-lte-config-php-fpm contains configuration file for php-fpm to handle PHP processes that can be used to run AdminLTE. nginx config is configured to use php-fpm, and this config supplements that config. By default, php-fpm has no configuration. To use supplied template, copy it: # cd /etc/php7/fpm # cp php-fpm.conf.default php-fpm.conf # cd php-fpm.d # cp pihole-admin-lte.conf.in pihole-admin-lte.conf Nginx by default uses nginx user and group to run itself. If that user can’t use php-fpm’s socket, nginx won’t be able to operate PHP sites. Supplied config by default uses nginx user, but if you use some other user or httpd, you need to modify pihole-admin-lte.conf to contain correct user. Then you can start (and enable) php-fpm: # systemctl start php-fpm # systemctl status php-fpm # Verify that there is no errors # systemctl enable php-fpm pihole-admin-lte-config-nginx ----------------------------- The config included in pihole-admin-lte-config-nginx is kind of base config which you need to adjust to your setup. Please see adminlte.conf.in in the package for more information.