I should have supplied you with below instead 
systemctl list-units "*php*"
Yeah I cant help you much with that as the default Pi-hole install uses a different PHP interpreter:
pi@ph5a:~ $ cat /etc/lighttpd/conf-enabled/15-fastcgi-php.conf
# -*- depends: fastcgi -*-
# /usr/share/doc/lighttpd/fastcgi.txt.gz
# http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions#mod_fastcgi-fastcgi
## Start an FastCGI server for php (needs the php5-cgi package)
fastcgi.server += ( ".php" =>
((
"bin-path" => "/usr/bin/php-cgi",
[..]
I dont know what exactly needs to be done for that as Pi-hole stores those in a dbase and are linked to "groups":
pi@ph5a:~ $ pihole-FTL sqlite3 /etc/pihole/gravity.db ".databases"
main: /etc/pihole/gravity.db r/o
pi@ph5a:~ $ pihole-FTL sqlite3 /etc/pihole/gravity.db ".tables"
adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
pi@ph5a:~ $ pihole-FTL sqlite3 /etc/pihole/gravity.db ".schema adlist"
CREATE TABLE adlist
(
id INTEGER PRIMARY KEY AUTOINCREMENT,
address TEXT UNIQUE NOT NULL,
enabled BOOLEAN NOT NULL DEFAULT 1,
date_added INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
date_modified INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
comment TEXT,
date_updated INTEGER,
number INTEGER NOT NULL DEFAULT 0,
invalid_domains INTEGER NOT NULL DEFAULT 0,
status INTEGER NOT NULL DEFAULT 0
);
CREATE TRIGGER tr_adlist_update AFTER UPDATE OF address,enabled,comment ON adlist
BEGIN
UPDATE adlist SET date_modified = (cast(strftime('%s', 'now') as int)) WHERE id = NEW.id;
END;
CREATE TRIGGER tr_adlist_delete AFTER DELETE ON adlist
BEGIN
DELETE FROM adlist_by_group WHERE adlist_id = OLD.id;
END;
CREATE TRIGGER tr_adlist_add AFTER INSERT ON adlist
BEGIN
INSERT INTO adlist_by_group (adlist_id, group_id) VALUES (NEW.id, 0);
END;
pi@ph5a:~ $ pihole-FTL sqlite3 /etc/pihole/gravity.db --header --column "SELECT * FROM adlist"
id address enabled date_added date_modified comment date_updated number invalid_domains status
-- --------------------------------------------------------------------- ------- ---------- ------------- --------------- ------------ ------ --------------- ------
1 https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts 1 1616080363 1624707951 Pi-hole default 1687053987 193746 1 1
3 https://dehakkelaar.nl/lists/cryptojacking_campaign.list.txt 1 1616084339 1624707968 Crypto Jacking 1681672096 853 0 2
4 https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list.txt 1 1616084339 1624707972 Crypto Jacking 1687054020 288104 212 1
I can show you how to delete and add an URL but am not sure if thats all you have to do as Pi-hole also works with "groups" which complicates a bit":
pi@ph5a:~ $ pihole-FTL sqlite3 /etc/pihole/gravity.db --header --column "SELECT * FROM adlist_by_group"
adlist_id group_id
--------- --------
4 0
1 0
3 0
Better get the webGUI up and running 