News:

Join the Facebook Fan Page.

Main Menu

php 7.1 going away soon

Started by a10, September 08, 2019, 08:58:41 AM

Previous topic - Next topic

Arantor

Weird, my GWH account lets me pick 5.6 and 7.0.

Where are you looking for the option?
Perhaps it would have been better if I'd simply never bothered. Y'all clearly would be less unhappy that way.

Sir Osis of Liver

Quote from: a10 on October 18, 2019, 05:24:04 AM
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.
"The best laid schemes o' mice an' men / Gang aft a-gley." - Robert Burns

lurkalot

Quote from: nidec on October 18, 2019, 10:54:34 AM
Quote from: lurkalot on October 17, 2019, 06:40:31 PM
Quote from: nidec on October 17, 2019, 05:19:24 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.  ;)

nidec

Maybe its because mines a new site, but im on 7.3.6

lurkalot

Quote from: nidec on October 18, 2019, 10:54:34 AM

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.

Arantor

It's also sometimes called easyApache.
Perhaps it would have been better if I'd simply never bothered. Y'all clearly would be less unhappy that way.

a10

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.19, php 7.4.29, MariaDB 10.3.34. Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

Plantje

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....

TheEnemy42

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.

Aleksi "Lex" Kilpinen

Quote from: TheEnemy42 on October 23, 2019, 11:07:49 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.
Slava
Ukraini!


"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

How you can help SMF

TheEnemy42

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.

Arantor

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.
Perhaps it would have been better if I'd simply never bothered. Y'all clearly would be less unhappy that way.

a10

^^^ 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.19, php 7.4.29, MariaDB 10.3.34. Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

vbgamer45

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

Plantje

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....

a10

Quote from: vbgamer45 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.

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.19, php 7.4.29, MariaDB 10.3.34. Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

TheEnemy42

Quote from: Arantor on October 23, 2019, 11:37: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.


Quote from: Arantor 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.

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.

Illori

Quote from: TheEnemy42 on October 24, 2019, 06:46:42 AM
Quote from: Arantor on October 23, 2019, 11:37: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.

deathshadow

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

Arantor

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.
Perhaps it would have been better if I'd simply never bothered. Y'all clearly would be less unhappy that way.

Advertisement: