Stan-O
Member
- Joined
- Oct 9, 2013
- Messages
- 60
- Reaction score
- 8
I couldn't figure out how to apply strike-thru to the text below, the guide is incomplete, do not follow it on live production systems.
I've migrated all my other Ubuntu VMs to 16.04 and the canonical livepatch service going live was the last straw (I know, ksplice, but I wanted "native" solution) to get me to migrate PBX VM to 16.04 as well.
I just ran do-release-upgrade from 14.04 LTS *with IncrediblePBX installed* and kept all the modified files. After reboot asterisk worked, but the web-site, of course, didn't. Here's what you need to do to get it working (all commands below run from root):
I've migrated all my other Ubuntu VMs to 16.04 and the canonical livepatch service going live was the last straw (I know, ksplice, but I wanted "native" solution) to get me to migrate PBX VM to 16.04 as well.
I just ran do-release-upgrade from 14.04 LTS *with IncrediblePBX installed* and kept all the modified files. After reboot asterisk worked, but the web-site, of course, didn't. Here's what you need to do to get it working (all commands below run from root):
Code:
apt-get install software-properties-common python-software-properties
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php5.6 php5.6-mysql php5.6-curl php5.6-gd php5.6-mbstring php5.6-opcache php5.6-readline php5.6-xml php-gettext php5.6-mbstring php-xdebug libapache2-mod-php5.6 libapache2-mod-php7.0
phpenmod -v 5.6 mysql
phpenmod -v 5.6 xml
phpenmod -v 5.6 simplexml
phpenmod -v 5.6 gd
phpenmod -v 5.6 curl
a2dismod php7.0
a2enmod php5.6
service apache2 restart
ln -sfn /usr/bin/php5.6 /etc/alternatives/php
Last edited: