RaspberryPi 4 install php error

I am following the instructions and script found at:
https://vitalpbx.com/blog/install-vitalpbx-4-on-a-raspberry-pi-quick-guide

I am running into the following error when running the script:

************************************************************
*           Installing MariaDB, apache2 and php 8          *
************************************************************
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php8.1-fpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php-ioncube-loader is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php8.1-fpm' has no installation candidate
E: Package 'php-ioncube-loader' has no installation candidate

Any suggestions to fix this?

What model of Raspberry PI are you using?

I would recommend you try again today but with a clean install.

This is on a Raspberry Pi 400.

I wiped the card and did a clean install today and it worked perfectly.

Thank you!

1 Like