I just upgraded one of my Ubuntu Servers to Ubuntu 16.04. The media wiki installation shopped working because it now comes with PHP 7. I tried upgrading mediawiki to the latest version but this didn’t seem to work either. I can’t seem to find out if Mediawiki support PHP 7. So, I thought I would install PHP 5.6 in parallel on Ubuntu 16.04 by using a PPA (which I generally don’t like)
Here are the commands that I used:
apt install php5.6 libapache2-mod-php5.6 php5.6-curl php5.6-gd php5.6-mbstring php5.6-mcrypt php5.6-mysql
systemctl restart apache2
Hope this helps someone.