How to update php 5.5 to 5.6 (Ubuntu 14.04.5, NextCloud 10.0.2)?
As for updating php 5.5 to php 5.6 on your Ubuntu 14.04 Server there are plenty of guides around. Just use the search engine of your choice.
i.e.How to setup / install PHP 5.6 on Ubuntu 14.04 LTS: https://www.dev-metal.com/install-setup-php-5-6-ubuntu-14-04-lts/
It depends on the way you have setup your web server.
A PPA could get you php7, or in my case i use ISPConfig to run my Nextcloud instance with a *buntu 14.04 derivation using this guide (patching the changes between Ubuntu and Debian).
But it pretty much depends on what you use.
cut ===
From: till at: 2016-12-16 16:52:45Reply
This tutorial is for Debian 8 only, not Ubuntu. The pacjage names on Ubuntu are different.
cut ===
Or update to Ubuntu 16.04 which already ships php7 by default.
Thats why i said patching the changes from Debían and Ubuntu.
What if your running next cloud 10.0.2? This is the message I get from Nextcloud. “You are running PHP 5.5. To allow you to upgrade to Nextcloud 11 and higher you need to run at least PHP 5.6. Once you upgraded your PHP version you will be able to receive update notifications for these newer versions.”
Try this, that’s how I’ve upgraded my 14.04 server to run NC11 (may be you need to add more modules in the third line):
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml
sudo a2dismod php5
sudo a2enmod php5.6
sudo service apache2 restart
I found out that php 5.6 is not supported yet with the plugin in I am using on Freenas.
Thanks zx81!
Thanks to everyone who took part in the discussion
helped to solve the following problemmy:
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml
php5.6-apcu php5.6-zip php5.6-gd php5.6-curl
sudo a2dismod php5
sudo a2enmod php5.6
sudo service apache2 restart
wwe: close old topics