jacklul / pihole-updatelists

Update Pi-hole's lists from remote sources easily
MIT License
1.42k stars 82 forks source link

Fedora requires additional package 'php-process' #119

Closed jnk22 closed 1 year ago

jnk22 commented 1 year ago

Hi, I have installed your tool on a new Fedora system today.

When running pihole-updatelists I got the following error message:

Make sure PHP's functions 'posix_getuid' and 'posix_kill' are available!

I was able to solve this by installing the package php-process with dnf install php-process, as those commands seem to be in another package on Fedora (see comment at PHP: posix_getuid - Manual). Everything else seems to work as expected now.

The system OS used is: Fedora Linux 36 (Server Edition)

I don't know if this is relevant to you as your readme uses the apt command and therefore another OS as me, but just wanted to post this in case you are interested in this solution for other users.

jacklul commented 1 year ago

Thanks for the info, that does seem to be the case for non-apt distros I guess