Asterisk16 and FreePBX 14 (with php5.6) and not breaking OMV

  • I will warn that I think this is a terrible idea to install php5.6 on your OMV system since php 5.6 is EOL'd - https://www.php.net/supported-versions.php. I think you should run it in a docker if you have to do this.

    omv 5.6.6 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.1
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I would probably agree, however FreePBX is about the best GUI for asterisk going, and I'd rather that than bugger with the CLI :)


    Alternately you could create a new usergroup and add apache2 and asterisk to it, and just set the perms on the php5.6 exe to be for that group alone - which would limit the exposure somewhat. As mentioned in the article, tampering with the php code trips a signature alarm, so as it's only one apache2 site, one (nologin) user and a php-fm instance using php5.6, the attack surface is limited.


    *Most* but not all the FreePBX scripts run if you just edit them to run php7.0 instead of 5.6, but they will trigger signature check alerts in FreePBX, and not all of them yet do - although the FreePBX team say they are trying to get moved to php7, I don't think it's a priority for them yet :(

  • I would probably agree, however FreePBX is about the best GUI for asterisk going, and I'd rather that than bugger with the CLI


    Alternately you could create a new usergroup and add apache2 and asterisk to it, and just set the perms on the php5.6 exe to be for that group alone - which would limit the exposure somewhat.


    There are freepbx dockers which would keep php5.6 off your OMV install and not force you to use the CLI. The docker will most likely work on newer versions of OMV where the posted method probably won't.


    although the FreePBX team say they are trying to get moved to php7, I don't think it's a priority for them yet

    This is pretty sad considering the date has been known for over a year.

    omv 5.6.6 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.1
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!