Pi-Hole instructions out of date?

Turns out I think the Apache references are expected. Here are the files at /var/www/html:

$ ls /var/www/html
admin  index.html

$ ls /var/www/html/admin/
api_db.php         composer.lock    dns_records.php     img           network.php        README.md
api_FTL.php        CONTRIBUTING.md  gravity.php         index.php     package.json       scripts
api.php            db_graph.php     groups-adlists.php  LICENSE       package-lock.json  settings.php
auditlog.php       db_lists.php     groups-clients.php  login.php     phpstan.neon.dist  style
cname_records.php  db_queries.php   groups-domains.php  logout.php    queries.php        taillog-FTL.php
composer.json      debug.php        groups.php          messages.php  queryads.php       taillog.php

index.html is the apache page.

/admin is where pihole lives.

Here was my problem:

I did this, as instructed:

I also needed to to this:

systemctl start php7.3-fpm

D’oh!

Note: substitute 7.4 for all instances of 7.3

Summary instructions:

sudo apt install php7.4-fpm   # change this to use the latest version
sudo systemctl enable php7.4-fpm
sudo systemctl start php7.4-fpm

Works like a charm!

2 Likes