Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: zappaDPJ on November 22, 2017, 07:17:04 AM

Title: PHP 7.1.11
Post by: zappaDPJ on November 22, 2017, 07:17:04 AM
Can someone kindly confirm if SMF v2.0.15 is compatible with PHP v7.1.11.
Title: Re: PHP 7.1.11
Post by: Arantor 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)
Title: Re: PHP 7.1.11
Post by: zappaDPJ 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?
Title: Re: PHP 7.1.11
Post by: Arantor 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.
Title: Re: PHP 7.1.11
Post by: zappaDPJ 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 :)
Title: Re: PHP 7.1.11
Post by: vbgamer45 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
Title: Re: PHP 7.1.11
Post by: @rjen 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)
Title: Re: PHP 7.1.11
Post by: zappaDPJ 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 :)
Title: Re: PHP 7.1.11
Post by: vbgamer45 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
Title: Re: PHP 7.1.11
Post by: Arantor 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.