Koozali.org: home of the SME Server

php 7

Offline TheSatedan

  • 2
  • +0/-0
php 7
« 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.


Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: php 7
« Reply #1 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


Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: php 7
« Reply #2 on: April 28, 2017, 06:44:32 PM »
BTW, may I ask you why do you need PHP7.1?

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: php 7
« Reply #3 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

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: php 7
« Reply #4 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

Offline TheSatedan

  • 2
  • +0/-0
Re: php 7
« Reply #5 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

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: php 7
« Reply #6 on: April 29, 2017, 11:32:32 AM »
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: php 7
« Reply #7 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