You are not logged in.

#1 2017-01-19 18:58:18

toco
Member
Registered: 2015-08-16
Posts: 21
Website

how can I downgrade php 7.1 to 7.0

I realized to late, that I need the php 7.0.14-1 for actual owncloud 9.1.3 installation... hmm

Now I want to downgrade...

Last edited by toco (2017-01-19 19:03:24)

Offline

#2 2017-01-19 19:31:28

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: how can I downgrade php 7.1 to 7.0

Offline

#3 2017-01-19 19:40:46

Taijian
Member
Registered: 2016-04-10
Posts: 74

Re: how can I downgrade php 7.1 to 7.0

toco wrote:

I realized to late, that I need the php 7.0.14-1 for actual owncloud 9.1.3 installation... hmm

Now I want to downgrade...

Why not use Nextcloud instead?

Offline

#4 2017-01-19 21:33:43

toco
Member
Registered: 2015-08-16
Posts: 21
Website

Re: how can I downgrade php 7.1 to 7.0

Yea ! nice & graceful!

@Taijian I saw it just today... have been in summerbrake til now smile

It's AGPL super good actually I need ownnotes too and owntasks does it work aswell?

I've to check it out...

peace!

Last edited by toco (2017-01-19 21:36:01)

Offline

#5 2017-01-20 14:07:17

toco
Member
Registered: 2015-08-16
Posts: 21
Website

Re: how can I downgrade php 7.1 to 7.0

Now I changed the pacman.conf to ignore php* packages, should I be carefully to upgrade packages, maybe they need late php7.1 instead of 7.0 ... I've to check now manually for updates? ...reading changelog an so on...?

I know a good admin should read the changelog everytime carfully - *smile Its only private using...

Offline

#6 2017-01-20 14:11:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: how can I downgrade php 7.1 to 7.0

It would be good to keep track of whether any packges depend specifically on 7.1 and not 7.0.  But the list of packages you'd need to keep an eye on may well be an empty set: do you have any packages installed that depend on php at all?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2017-01-20 15:17:06

toco
Member
Registered: 2015-08-16
Posts: 21
Website

Re: how can I downgrade php 7.1 to 7.0

No only a dokuwiki and wordpress...

Offline

#8 2017-01-21 10:09:12

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: how can I downgrade php 7.1 to 7.0

ARGH D:

pacman -U /var/cache/pacman/pkg/php*7.0.14*
pacman -U /var/cache/pacman/pkg/php-apcu-5.1.7-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/php-apcu-bc-1.0.3-1-x86_64.pkg.tar.xz

anything else?

Sorry / I don't have time to look into this in an orderly fashion atm, but did fedora already backport the necessary changes or are they still working on it?

http://pkgs.fedoraproject.org/cgit/rpms … 9063f967d6

Maybe someone should poke... someone... about something?

Personally, I have nothing critical on owncloud, so I can just stop using it... but other people's stuff might start breaking over the course of the next 2 months if they have to pin php & everything until owncloud releases the next version officially?

Last edited by whoops (2017-01-21 10:40:46)

Offline

#9 2017-01-23 17:00:49

Gefrierbrand
Member
Registered: 2015-02-12
Posts: 5

Re: how can I downgrade php 7.1 to 7.0

With owncloud 9.1.3-2 there are now backported fixes for PHP 7.1 so you don't need to downgrade PHP anymore.

Last edited by Gefrierbrand (2017-01-23 17:01:06)

Offline

#10 2017-01-30 14:14:23

betrixed
Member
Registered: 2017-01-30
Posts: 3

Re: how can I downgrade php 7.1 to 7.0

Fortunately I had the 7.0.14 package still in my pacman packages cache, and after doing a cascade remove on 7.1, reinstalled all the 7.0.14 packages I had.
7.1.1 is an unstable release. I use the AUR phalcon package, (php-phalcon - installed 3.0.3 - )   Phalcon might not be compatible with php 7.1.x for some time yet, and possibly they are not going to target the early unstable releases, and 7.1.1 seems a bit bleeding edge.

Ideal for me would be for AUR to provide a php70 package, to keep up with the stable bug fix releases in the 7.0 series. It would be like the php56 package, which avoids configuration clashes with the latest php 7.1.x.

I tried hacking the 7.1.1 PKGBUILD to make it build 7.0.15, but it is not quite so easy, as patches are not for the same build, and when compile-build errors appeared for the phpdbg info.c file I just gave up. I would need more time and effort to make this successful, and 7.0.14 still works very well.

Perhaps if I could get hold of the PKGBUILD for 7.0.14, and reconfigure it for a seperate php70 configured entity, as done with php56.

Offline

#11 2017-01-30 14:46:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: how can I downgrade php 7.1 to 7.0


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#12 2017-01-30 14:47:10

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: how can I downgrade php 7.1 to 7.0

Old PKGBUILD's are avaiable online (although according to the history there wasn't a 7.0.14).

https://git.archlinux.org/svntogit/pack … ckages/php


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#13 2017-01-31 06:03:05

betrixed
Member
Registered: 2017-01-30
Posts: 3

Re: how can I downgrade php 7.1 to 7.0

[michael@archbook pkg]$ ls php*7.0.14*
php-7.0.14-1-x86_64.pkg.tar.xz      php-mcrypt-7.0.14-1-x86_64.pkg.tar.xz
php-fpm-7.0.14-1-x86_64.pkg.tar.xz  php-sqlite-7.0.14-1-x86_64.pkg.tar.xz
php-gd-7.0.14-1-x86_64.pkg.tar.xz

ls php-7.0.*
php-7.0.11-1-x86_64.pkg.tar.xz  php-7.0.13-2-x86_64.pkg.tar.xz
php-7.0.12-1-x86_64.pkg.tar.xz  php-7.0.14-1-x86_64.pkg.tar.xz


History, and process sometimes drop things, and that's just one of the many sneaky ways of how time advances.
Thank you for the link to 7.0.13, Something might work out, if I overcome my enormous distractability.

Offline

#14 2017-02-05 10:25:38

betrixed
Member
Registered: 2017-01-30
Posts: 3

Re: how can I downgrade php 7.1 to 7.0

OK I spent some few days figuring out AUR packages, bash scripting, and looking at the php56 and php packages, and nearly doubled my experience with modern bash scripting language behaviour.  I've crafted a php70 PKGBUILD and associated files as an AUR package.. I've also taken a look at the php-phalcon AUR package, and might make some suggestions (adjusted PKGBUILD version) that I played with. See php70  link and maybe test for me please, if it works and if its useful.

Offline

Board footer

Powered by FluxBB