Using Debian 12 as preferred distro for Asterisk and FreePBX I got headaches all over.
-
the Debian distro is old and the new Trixie version is is far from complete, to many things need to be added for starting a installation and then still the installation from both are failing
-
The bookworm distro give problems when installed as VM in the Oracle virtual machine environment
Setting up with Ubuntu 24.04, no problems with compiling or installation except for the Apache conf file who is not created
Even as VM there are no problems then only adding the odbc-mariadb for Freepbx
The asterisk software can be installed with sudo apt install asterisk and if needed over writtten with the latest version 23
For FreePBX it is a problem as the initial installation does not give any errors it stil does not nake the apache conf file, beside this in practice there are many problems with apache installations
For this I advice to switch over to NGINX, NGINX can be run for each website with different users and groups with php8.3-frm for higher protection
Please consider this for the future as asterisk already made part of standard community install