Suggestion for using Ubuntu LTS versions

Using Debian 12 as preferred distro for Asterisk and FreePBX I got headaches all over.

  1. 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

  2. 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

You can use 22 or 24, take your pick. You setting this up on Ubuntu though is a DIY thing and the support for it is going to be very limited. Messing with the non-supported OSes puts in you the “on your own for the most part” category.

Moving to nginx would basically change everything fundamentally in FreePBX. It 100% depends on the dynamic features of Apache and how it does things. nginx adds long term headaches that would require everything in FreePBX to be redone and it also introduces the chance of breaking existing third party modules because they were designed for the Apache logic. The bottom line, nginx is a higher cost than apache to maintain in the long term.

Apache can run php-fpm but the first thing that needs to happen is you need to force php-fpm to run as a single user since there aren’t multiple web users on the system. Along with everything as to belong to the asterisk user, not www-data or some other user…asterisk user.

@GentleRV did you try with the FreePBX Distro ISO from https://freepbx.org/downloads using the more cloud-friendly FOG spice level ?