Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: TheSatedan on April 28, 2017, 05:35:06 PM

Title: php 7
Post by: TheSatedan on April 28, 2017, 05:35:06 PM
I need to upgrade to php 7.1

everything i do it wont let me, it keeps telling me there is no packages available.

Title: Re: php 7
Post by: Stefano on April 28, 2017, 06:43:09 PM
Hi, welcome here

SME9 doesn't support natively PHP7

search here and in the wiki about remi-safe repo.. AFAIK it'd give you the possibility to install PHP7

Title: Re: php 7
Post by: Stefano on April 28, 2017, 06:44:32 PM
BTW, may I ask you why do you need PHP7.1?
Title: Re: php 7
Post by: Jean-Philippe Pialasse on April 28, 2017, 06:47:08 PM
you can not, as php version against centos 6 and sme 9 5.3.3

an alternative could be to use the software collection and the contribs https://wiki.contribs.org/PHP_Software_Collections

Unfortunatly for you, the contribs do not include yet the php 7.0 or php 7.1 series

you could bump this bug : http://bugs.contribs.org/show_bug.cgi?id=10093 or help updating the contrib
Title: Re: php 7
Post by: Jean-Philippe Pialasse on April 28, 2017, 07:46:27 PM
updated to support php70 and php71

still need testing
https://bugs.contribs.org/show_bug.cgi?id=10093
Title: Re: php 7
Post by: TheSatedan on April 29, 2017, 01:35:08 AM
some of the newer code i am writing requires 7.01 at least to run, i didnt think that was an issue til i installed sme yesterday i thought it would have been a way to upgrade to 7 if needed
Title: Re: php 7
Post by: ReetP on April 29, 2017, 11:32:32 AM
Or help with v10

https://wiki.contribs.org/SME_Server_10.0_Development
Title: Re: php 7
Post by: Jean-Philippe Pialasse on April 30, 2017, 01:56:55 AM
some of the newer code i am writing requires 7.01 at least to run, i didnt think that was an issue til i installed sme yesterday i thought it would have been a way to upgrade to 7 if needed

there is, and as any CentOs6 and Rhel6 products there is only one way to get php 7 it is through software collections https://www.softwarecollections.org/en/

As I told earlier, the contribs that helps to configure those was not yet updated to support php70 and php71. I just did it. Your turn now to give it a try and confirms it works for you and report here or better on the bug related to :  https://bugs.contribs.org/show_bug.cgi?id=10093

all you need to know is already documented here: https://wiki.contribs.org/PHP_Software_Collections ( I even documented how to test the last version https://wiki.contribs.org/PHP_Software_Collections#Installation)

JP