I've just gone from OMV3 to OMV4 and also upgraded Asterisk15 to Asterisk16 and FreePBX 13 to FreePBX 14.
FreePBX wants php5.6, and OMV/Debian 9 want php7.0
This is how to get it all to play nicely
I've just gone from OMV3 to OMV4 and also upgraded Asterisk15 to Asterisk16 and FreePBX 13 to FreePBX 14.
FreePBX wants php5.6, and OMV/Debian 9 want php7.0
This is how to get it all to play nicely
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.
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.
Someone did comment that FreePBX 15 appears to behave, but it's still not "stable" IIRC.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!