Advertisement:

Author Topic: php 7.1 going away soon  (Read 455 times)

Offline a10

  • Charter Member
  • Sr. Member
  • *
  • Posts: 863
php 7.1 going away soon
« on: September 08, 2019, 08:58:41 AM »
My host (and probably most hosts) preparing to ditch 7.1, am getting slightly nervous :O)

Will anything be done to stock SMF 2.0.15 to avoid it falling behind the times, an official upgrade to 7.2+ compatibility?
(mods would need individual attention, question related to SMF only)

Thanks
2.0.15, ssl, php 7.1.31, MySQL 10.3.13-MariaDB~bionic
Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,146
Re: php 7.1 going away soon
« Reply #1 on: September 08, 2019, 10:24:34 AM »
SMF 2.0.15 will never support php 7.2. we dont apply patches to already existing releases.

we are working on SMF 2.0.16 which will have basic support for php 7.2.

we dont have a release date yet for 2.0.16. it will be ready when it is ready.

Offline a10

  • Charter Member
  • Sr. Member
  • *
  • Posts: 863
Re: php 7.1 going away soon
« Reply #2 on: September 08, 2019, 01:03:39 PM »
So .16 will be the "patched" .15 :O)  Good.
2.0.15, ssl, php 7.1.31, MySQL 10.3.13-MariaDB~bionic
Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,401
    • StoryBB/StoryBB on GitHub
Re: php 7.1 going away soon
« Reply #3 on: September 08, 2019, 01:54:34 PM »
But note that the most it can possibly do is support the core of SMF - not any mods, especially not bbcode mods, all of which need a rewrite.

(Well, I say that. It's theoretically possible to write a package manager package that does it, but it would be a one way only patch, with no ability to revert if it goes wrong, and if it goes wrong it takes your entire forum down. And none of the mods would be able to uninstall after because the code that they added would be entirely removed. And if you upload a new batch of files, then add mods, the mods break again. Or if the mods use hooks, it's all redundant anyway because they still don't work properly on PHP 7.2 even if the rest of the core could be patched. So, yeah, net result is that only the core can be patched.)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Jarppi

  • Semi-Newbie
  • *
  • Posts: 22
Re: php 7.1 going away soon
« Reply #4 on: September 08, 2019, 04:03:27 PM »
My host changed php 7.2 already and there is no possibility to change to any earlier version php on cPanel.
Forum was running on 1.1.21 smf, so this means that my forum is not working at all and I cannot upgrade it.
Is only possibility to wait 2.0.16? Or any suggestions what I can try?

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,146
Re: php 7.1 going away soon
« Reply #5 on: September 08, 2019, 04:37:24 PM »
SMF 2.0.15 will function on php 7.2, it just will fill your error log with errors.

Offline Jarppi

  • Semi-Newbie
  • *
  • Posts: 22
Re: php 7.1 going away soon
« Reply #6 on: September 09, 2019, 12:55:40 PM »
Thank you. Ok, good to know. I´ll try upgrade then.

Offline davejo

  • Jr. Member
  • **
  • Posts: 313
    • Dave's Hobby Workshop
Re: php 7.1 going away soon
« Reply #7 on: September 10, 2019, 08:54:57 AM »
My host changed php 7.2 already and there is no possibility to change to any earlier version php on cPanel.
Forum was running on 1.1.21 smf, so this means that my forum is not working at all and I cannot upgrade it.
Is only possibility to wait 2.0.16? Or any suggestions what I can try?

Hi,

My host upgraded to PHP7.2 and it broke some bits on my SMF 2.0.15.

Firstly make a back up of the file I'm suggeting you change below

What you could try is if you have an .htaccess file change the code inside it to say

Code: [Select]
# Use PHP5.6 as default
AddHandler application/x-httpd-ea-php56 .php

You could also try repalcing the text 'php56' to 'php71' if you wanted to use 7.1

If you don't have .htaccess try creating one, with the code I suggested, in Notepad++ and upload it to the public html folder on your

I'm not sure if your host would have completely got rid of 5.6 if they did then it probably wont work. If it's doesn't work then just delete the new file or revert back your old .htaccess file

For my site everything is OK again now.
If you want 'Quiz' questions Click here
Quiz Test Site Link

Offline Study Force

  • SMF Hero
  • ******
  • Posts: 3,705
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: php 7.1 going away soon
« Reply #8 on: September 11, 2019, 09:24:40 PM »
Any host that does this to their customer is completely irresponsible. Likely they have little experience running a damn business

My ho changed php 7.2 already and there is no possibility to change to any earlier version php on cPanel.
Forum was running on 1.1.21 smf, so this means that my forum is not working at all and I cannot upgrade it.
Is only possibility to wait 2.0.16? Or any suggestions what I can try?

-edit- No hosting advertisements allowed outside of the hosting boards.
« Last Edit: September 11, 2019, 10:37:44 PM by CoreISP »

Offline SpacePhoenix

  • Semi-Newbie
  • *
  • Posts: 91
Re: php 7.1 going away soon
« Reply #9 on: September 12, 2019, 02:03:46 AM »
My host changed php 7.2 already and there is no possibility to change to any earlier version php on cPanel.
Forum was running on 1.1.21 smf, so this means that my forum is not working at all and I cannot upgrade it.
Is only possibility to wait 2.0.16? Or any suggestions what I can try?
What was the previous version of PHP on that server?