Advertisement:

Author Topic: PHP 7.1.11  (Read 1191 times)

Offline zappaDPJ

  • Semi-Newbie
  • *
  • Posts: 19
PHP 7.1.11
« on: November 22, 2017, 07:17:04 AM »
Can someone kindly confirm if SMF v2.0.15 is compatible with PHP v7.1.11.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,036
    • Arantor on GitHub
Re: PHP 7.1.11
« Reply #1 on: November 22, 2017, 07:33:38 AM »
No one as far as I know has definitively tested all of SMF 2.0.14 or .15 on PHP 7.1

There are unconfirmed reports that certain search functions may not work on 7.1 but it's not clear if that's 7 and 7.1 or just 7.1. (Likely both)
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline zappaDPJ

  • Semi-Newbie
  • *
  • Posts: 19
Re: PHP 7.1.11
« Reply #2 on: November 22, 2017, 09:09:20 AM »
No one as far as I know has definitively tested all of SMF 2.0.14 or .15 on PHP 7.1

There are unconfirmed reports that certain search functions may not work on 7.1 but it's not clear if that's 7 and 7.1 or just 7.1. (Likely both)

Thanks, I wasn't aware of that. May I ask what version of PHP you would recommend using?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,036
    • Arantor on GitHub
Re: PHP 7.1.11
« Reply #3 on: November 22, 2017, 09:59:57 AM »
Me personally, I'd actually stick to 5.6 on the basis that even though the core might support 7, lots of addons are still not entirely ready.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline zappaDPJ

  • Semi-Newbie
  • *
  • Posts: 19
Re: PHP 7.1.11
« Reply #4 on: November 22, 2017, 10:46:33 AM »
Me personally, I'd actually stick to 5.6 on the basis that even though the core might support 7, lots of addons are still not entirely ready.

Thank you, your advice is much appreciated :)

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,346
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: PHP 7.1.11
« Reply #5 on: November 22, 2017, 11:09:13 AM »
I have been running the latest php 7.1 across all smf sites and haven't seen any issues
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline @rjen

  • Jr. Member
  • **
  • Posts: 171
  • Gender: Male
    • FJR-club Nederland
Re: PHP 7.1.11
« Reply #6 on: November 22, 2017, 11:15:55 AM »
I have been running the latest php 7.1 across all smf sites

So have I. My site is on php 7.1 since this summer on SMF 2.0.14 and now on 2.0.15.

Just a few 'issues' with Mods that I needed to fix myself:
- Tinyportal
- shoutbox

and this one in SMF

Quote
admin menu search method: '[] operator not supported for strings' :
Bestand: ./Sources/ManageSearch.php

Code: (Find) [Selecteer]
Code: [Select]
        $context['fulltext_index'] = '';
        if ($request !== false || $smcFunc['db_num_rows']($request) != 0)

Code: (Replace) [Selecteer]
Code: [Select]
        $context['fulltext_index'] = array();
        if ($request !== false || $smcFunc['db_num_rows']($request) != 0)
Running SMF 2.0 with Tinyportal 1.3R at www.fjr-club.nl
Testing SMF 2.1 beta 3 with Tinyportal 2.0 at http://test2.fjr-club.nl/

Offline zappaDPJ

  • Semi-Newbie
  • *
  • Posts: 19
Re: PHP 7.1.11
« Reply #7 on: November 22, 2017, 02:52:13 PM »
I have been running the latest php 7.1 across all smf sites and haven't seen any issues

So have I. My site is on php 7.1 since this summer on SMF 2.0.14 and now on 2.0.15.

We don't yet have a compelling reason to upgrade past version version 5.6 but I will certainly refer back to what's been posted here when we do. Thanks for the info :)

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,346
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: PHP 7.1.11
« Reply #8 on: November 22, 2017, 03:02:55 PM »
For me it is speed/performance which also affects SEO.  I had an article on it here https://www.smfhacks.com/index.php/topic,9403.0.html
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,036
    • Arantor on GitHub
Re: PHP 7.1.11
« Reply #9 on: November 22, 2017, 03:19:49 PM »
I think it also depends on your mods; TinyPortal needed some serious updates earlier in the year to make it work properly on 7.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.