Koozali.org: home of the SME Server

Problem Updating SCL PHP

guest22

Re: Problem Updating SCL PHP
« Reply #15 on: April 08, 2017, 07:36:13 PM »
Never heard of Remi safe? It is nowhere documented. Is it this? https://wiki.contribs.org/Remi#tab=For_SME_9

Offline janet

  • ****
  • 4,812
  • +0/-0
« Last Edit: April 08, 2017, 09:14:07 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

guest22

Re: Problem Updating SCL PHP
« Reply #17 on: April 08, 2017, 09:20:15 PM »
RequestedDeletion
 
3 seconds on google

https://www.google.com.au/search?q=remi-safe+repo&ie=utf-8&oe=utf-8&gws_rd=cr&ei=FjbpWJnfB8Gv0gS45K3ICQ#spf=1


Sure and thanks, but I was referring to our wiki. If Remi Safe is the way to go, then how come we advertise to use Remi and not Remi Safe?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Problem Updating SCL PHP
« Reply #18 on: April 08, 2017, 10:27:50 PM »
RequestedDeletion & beast

Well it is still a work in progress.
JPP only advised about the use of the remi-safe repo today in this post
https://forums.contribs.org/index.php/topic,52982.msg273820.html#msg273820

.....so it is really something for wiki maintainers who have write access to the repo page section of wiki to update

I will just note it has always been recommended procedure to only use external repos enabled via command line switch AND while specifying a particular package(s) that you want upgraded.

What "beast" did was dangerous ie
yum update --enablerepo=remi
It should have been
yum update packagename --enablerepo=remi
which is a safe option.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Problem Updating SCL PHP
« Reply #19 on: April 08, 2017, 11:23:17 PM »
I just added the info about remi-safe : https://wiki.contribs.org/Remi-safe

this is only available starting SME9.
next step I will update the wiki for php-scl and try to put a warning on all pages relating to remi to incite people to use remi-safe instead

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Problem Updating SCL PHP
« Reply #20 on: April 09, 2017, 12:17:49 AM »
ok I made some advances on the way we can improve this : https://bugs.contribs.org/show_bug.cgi?id=10194#c7

As you can read I think that if I copy some missing rpm from epel we can make the update and installation  of php-scl easy having remi-safe enabled by default and having the needed epel dependencies in smeextras or smecontribs.

also I updated the php scl wiki :  https://wiki.contribs.org/PHP_Software_Collections

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Problem Updating SCL PHP
« Reply #21 on: April 17, 2017, 02:34:04 AM »
all dependency are now either in smecontribs either in remi-safe.

As soon as you get remi-safe repo installed:
PHP scl should now be easy to update by simply enabling smecontribs.

either punctually
Code: [Select]
yum update --enablerepo=smecontribs
either permanently
Code: [Select]
db yum_repositories setprop smecontribs status enabled
 signal-event yum-modify

and then
Code: [Select]
yum update
happy to hear from your feedback