The officially official Devuan Forum!

You are not logged in.

#1 2018-04-30 12:09:09

Morgennebel
Member
Registered: 2017-06-07
Posts: 13  

ascii/ceres: Upgrade from php7.0 to php7.1/7.2?

Dear,

I searched Google, Wiki and Forums for quite some time to learn how to upgrade from php7.0 to 7.1 or 7.2.

There are packages listed, but I have no idea how to upgrade them or add a repository for apt to get the packages.

Any hints/links?

Thanks so much,

Ciao, -MN

Offline

#2 2018-05-01 11:32:02

devuser
Member
Registered: 2018-04-30
Posts: 176  

Re: ascii/ceres: Upgrade from php7.0 to php7.1/7.2?

Packages for ceres seem to include PHP 7.1 and 7.2 so you could pull them from there but it would involve some pinning to not upgrade your whole system to ceres and you might run into dependency problems.

Another option is https://deb.sury.org/ (which is the recommended succesor to dotdeb.org for PHP). Just use the script provided at https://packages.sury.org/php/README.txt to enable the repository. Only adjustment that should be needed for Devuan is replacing $(lsb_release -sc) with stretch. No garanties though. The repo is targeting Debian and even while it worked for me on jessie i haven't tried it on ascii yet.

Offline

#3 2019-04-08 11:46:40

pdwalker
Member
Registered: 2017-08-02
Posts: 2  

Re: ascii/ceres: Upgrade from php7.0 to php7.1/7.2?

For what it is worth, I've just enabled the 7.3 repository based on these instructions using the https://packages.sury.org/php/ repository:
https://computingforgeeks.com/how-to-in … -debian-8/

Everything appears to be working.

(warning - this might cause issues later when upgrading Devuan ascii to something else later so if your system gets trashed then be glad to know that my system will probably be trashed as well)

edit: I had to install the php-mysql module by hand afterwards.  Not sure why it didn't during the previous update

Last edited by pdwalker (2019-04-08 11:50:01)

Offline

Board footer