Advertisement:

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

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,868
    • StoryBB/StoryBB on GitHub
Re: php 7.1 going away soon
« Reply #20 on: October 18, 2019, 10:58:13 AM »
Weird, my GWH account lets me pick 5.6 and 7.0.

Where are you looking for the option?
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 Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,390
Re: php 7.1 going away soon
« Reply #21 on: October 18, 2019, 12:08:51 PM »
A very good host btw, and not running any unsupported, outdated, potentially unsecure?, php versions.

All php versions on my host (5.3-7.3) are supported with security updates.

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,496
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: php 7.1 going away soon
« Reply #22 on: October 18, 2019, 12:51:35 PM »
My site, notthenoobs.com,  is built on 2.0.15 and I signed up with Gray Web hosting.  This is on php 7.3. Is that likely to be a problem?

7.1 is the highest version 2.0.15 supports.  You should be able to select 7.1 in your cPanel.

There is no option to change it. I went with Gray Webhost because they were recommended on here as being experts on SMF, so Im surprised thats not available

I'm on Gray Webhost too, and only just gone to 7.1 from 5.6 in the last week or two.  ;)

Offline nidec

  • Semi-Newbie
  • *
  • Posts: 34
Re: php 7.1 going away soon
« Reply #23 on: October 18, 2019, 01:27:30 PM »
Maybe its because mines a new site, but im on 7.3.6

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,496
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: php 7.1 going away soon
« Reply #24 on: October 18, 2019, 02:28:24 PM »

There is no option to change it. I went with Gray Webhost because they were recommended on here as being experts on SMF, so Im surprised thats not available

In the hosting cPanel, search at top for PHP.  Then see if you have MultiPHP Manager You can change it there.

Or if you are still stuck then send them a Support ticket, I'm sure they will sort it for you.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,868
    • StoryBB/StoryBB on GitHub
Re: php 7.1 going away soon
« Reply #25 on: October 18, 2019, 02:43:35 PM »
It’s also sometimes called easyApache.
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 a10

  • Charter Member
  • Sr. Member
  • *
  • Posts: 899
Re: php 7.1 going away soon
« Reply #26 on: October 21, 2019, 07:56:55 AM »
Getting close now.

Quote
...will soon be updated from version 7.1 to the latest stable version, which is currently version 7.3. The reason for the update is that PHP version 7.1 will reach end of life on December 1st, 2019. When a PHP version reaches end of life, all security support is stopped, making continued usage a potential security risk.

...during the first week of November. The differences between PHP 7.1 and 7.3 are minor, so you will most likely not notice any difference.

After the automatic update, you still have the option to manually downgrade PHP to version 7.1. This gives you a chance to fix any potential issues due to outdated code before December 1st 2019, when PHP 7.1 will be removed permanently.
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 Plantje

  • Semi-Newbie
  • *
  • Posts: 88
  • Gender: Male
  • Running version 2.0.11
    • Vliegvissers.nl
Re: php 7.1 going away soon
« Reply #27 on: October 23, 2019, 10:29:46 AM »
I hope it will support 7.3 as well. Just got a notification that my host will update to 7.3 in the first week of November. So, I guess I will be updating to 7.3 on my Acceptance Test server as soon as possible and see what runs and what not….

Offline TheEnemy42

  • Semi-Newbie
  • *
  • Posts: 21
Re: php 7.1 going away soon
« Reply #28 on: October 23, 2019, 11:07:49 AM »
I'm having this exact issue. In the beginning of November my hosting will be upgraded to PHP 7.3, though I can downgrade until the end of November. From then on it's only PHP 7.3.

This isn't a PHP or hosting issue, this is a SMF issue. SMF 2.1 is not ready yet, correct? What to do?
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe producing bigger and better idiots.
So far, the universe is winning.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,699
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: php 7.1 going away soon
« Reply #29 on: October 23, 2019, 11:18:14 AM »
This isn't a PHP or hosting issue, this is a SMF issue.
To be fair, it's a little of both. PHP versions have usually not been abandoned this fast in the industry.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline TheEnemy42

  • Semi-Newbie
  • *
  • Posts: 21
Re: php 7.1 going away soon
« Reply #30 on: October 23, 2019, 11:36:27 AM »
Looking back I can see some of the older versions have been supported for longer but it's still 3 years since 7.1 was released. 7.2 was released 2 years ago, the same time SMF 2.0.15 was released. That's still quite a long time without any support.

Note I'm not neglecting the effort needed to maintain SMF but looking at it from the perspective of a forum administrator I'm for the first time forced to consider the option to migrate to a different forum software due to lack of support - and that does make me sad.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe producing bigger and better idiots.
So far, the universe is winning.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,868
    • StoryBB/StoryBB on GitHub
Re: php 7.1 going away soon
« Reply #31 on: October 23, 2019, 11:37:41 AM »
PHP moving to an annual release cycle makes it hard for volunteer platforms to keep up, in practice.

Remember that there are like 4 people on the dev team doing it in the spare time they have... it’s really not a lot and there are some other priorities that need to be taken care of too.

But 2.0.16 is coming. I’ve seen beta builds of it with 7.2 functionality in it.
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 a10

  • Charter Member
  • Sr. Member
  • *
  • Posts: 899
Re: php 7.1 going away soon
« Reply #32 on: October 23, 2019, 01:15:52 PM »
^^^ But 2.0.16 is coming

Thanks for confirming :O)

Would really hate to be forced into leaving my 10 years+ of excellent hosting because of them doing a good job in running up-to-date software on their servers !
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 vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,627
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: php 7.1 going away soon
« Reply #33 on: October 23, 2019, 03:07:36 PM »
You could get working you just have to turn off some php error logging/to suppress some errors. minor edits. I have one my servers updated to php 7.3 with smf 2.0.x running.
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 Plantje

  • Semi-Newbie
  • *
  • Posts: 88
  • Gender: Male
  • Running version 2.0.11
    • Vliegvissers.nl
Re: php 7.1 going away soon
« Reply #34 on: October 24, 2019, 01:39:24 AM »
When they moved to 7.1 I think I was still on 2.0.13 and everything just stopped working displaying my database password in plain text to everyone who went to the site. Wasn't too happy....

Offline a10

  • Charter Member
  • Sr. Member
  • *
  • Posts: 899
Re: php 7.1 going away soon
« Reply #35 on: October 24, 2019, 06:35:26 AM »
You could get working you just have to turn off some php error logging/to suppress some errors. minor edits. I have one my servers updated to php 7.3 with smf 2.0.x running.

Thanks for info, an option to 2.0.16.
ftm made a complete copy of my live forum on another server, and will do some late night alchemist experiments with php 7.2\3\4 and see what blows up.
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 TheEnemy42

  • Semi-Newbie
  • *
  • Posts: 21
Re: php 7.1 going away soon
« Reply #36 on: October 24, 2019, 06:46:42 AM »
But 2.0.16 is coming. I’ve seen beta builds of it with 7.2 functionality in it.

I'm glad to hear. Do you know when it's expected to ship? Seeing as I have 1-2 weeks before my host upgrades I'd much prefer to upgrade SMF beforehand to avoid downtime.


PHP moving to an annual release cycle makes it hard for volunteer platforms to keep up, in practice.

Remember that there are like 4 people on the dev team doing it in the spare time they have... it’s really not a lot and there are some other priorities that need to be taken care of too.

Yes, as mentioned I'm not neglecting the effort needed and I'm well aware that this is volunteer work and indeed it's much appreciated. I have no real knowledge of PHP development and can understand that the changes needed are quite extensive.

But realistically, seeing as this is possibly a breaking change in PHP it might spell the doom of the SMF project if not handled, even if I'd hate to see it. Most hosts prefer to follow the recommendations of the official PHP development team and I'm guessing most forum admins won't have the knowledge needed to hack their SMF installation to make it work or ignore all the errors as vbgamer45 mentioned. I'm a developer myself but have no clue as to where to start. A guide would be much appreciated if 2.0.16 is not finished in time.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe producing bigger and better idiots.
So far, the universe is winning.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,470
Re: php 7.1 going away soon
« Reply #37 on: October 24, 2019, 07:26:41 AM »
But 2.0.16 is coming. I’ve seen beta builds of it with 7.2 functionality in it.

I'm glad to hear. Do you know when it's expected to ship? Seeing as I have 1-2 weeks before my host upgrades I'd much prefer to upgrade SMF beforehand to avoid downtime.


it will be ready when it is ready. we never provide dates.

Offline deathshadow

  • Jr. Member
  • **
  • Posts: 194
  • Gender: Male
    • CutCodeDown -- Minimalist Semantic Markup
Re: php 7.1 going away soon
« Reply #38 on: October 26, 2019, 10:51:05 AM »
I find it disturbing all these responses and nobody mentions the mod that fixes things up just fine and dandy.

https://www.smfhacks.com/index.php?topic=9707.0

Though it's sad most of what needs to be fixed is stuff we've been told since PHP 5.2 to stop doing... like using create_function instead of anonymous functions.
“There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.” – C.A.R. Hoare, The 1980 ACM Turing Award Lecture
http://www.cutcodedown.com

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,868
    • StoryBB/StoryBB on GitHub
Re: php 7.1 going away soon
« Reply #39 on: October 26, 2019, 11:00:49 AM »
Except that 1) it's not an official patch, 2) it only fixes the core, it doesn't fix any other bbc mods or any other mods broken by PHP7+, and 3) the replacement for create_function didn't exist until PHP 5.3 anyway.

But there's still hosts out on version 5.3 and 5.4 which is why it was not fixer sooner in the 2.0 series. It has long since been fixed in 2.1 however.
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.