Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: zerotyler on January 20, 2017, 07:53:40 AM

Title: SMF 2.x and PHP7
Post by: zerotyler on January 20, 2017, 07:53:40 AM
Hi,

I know the subject has ever been traeted but i actually don't konw if release SMF 2.13 can run with PHP7.

Any answer can help

regards
Title: Re: SMF 2.x and PHP7
Post by: Illori on January 20, 2017, 08:01:19 AM
no it cannot at this time.
Title: Re: SMF 2.x and PHP7
Post by: Arantor on January 20, 2017, 08:01:29 AM
2.0.13 does not run with PHP7.

2.0.14 should.

2.1.0 will.
Title: Re: SMF 2.x and PHP7
Post by: zerotyler on January 20, 2017, 08:20:44 AM
I don't want to stress you, but most conpany force us to migrate to PHP7.

If you don't migrate, you must pay between 5 to 10 euros a month ...

In this case, using SMF is not free ...

regards
Title: Re: SMF 2.x and PHP7
Post by: Arantor on January 20, 2017, 09:15:52 AM
It's not free to use a decent host. I personally pay $50 a month for a good VPS.

While you can run it on a free host, it is not recommended.
Title: Re: SMF 2.x and PHP7
Post by: d3vcho on January 20, 2017, 09:32:36 AM
I run SMF on 3 different hosts and none of them is forcing me to migrate to PHP7. It's really soon to start forcing your users to migrate to PHP7...

Anyway, we hope that 2.0.14 (which will support PHP7), will be released soon.
Title: Re: SMF 2.x and PHP7
Post by: Jailer on January 20, 2017, 08:56:18 PM
Quote from: d3vcho on January 20, 2017, 09:32:36 AM
Anyway, we hope that 2.0.14 (which will support PHP7), will be released soon.

Awesome, can't wait to try it out in my sandbox. 
Title: Re: SMF 2.x and PHP7
Post by: Kissaki on January 21, 2017, 10:53:38 AM
Quote from: d3vcho on January 20, 2017, 09:32:36 AMIt's really soon to start forcing your users to migrate to PHP7...

The current Ubuntu LTS release Xenial 16.04, which was released in 2015 (https://en.wikipedia.org/wiki/Ubuntu_version_history#Ubuntu_16.04_LTS_.28Xenial_Xerus.29) provides PHP7 and no earlier versions (http://packages.ubuntu.com/xenial/php/).
It's not really too soon. SMF should really be supporting 7 (mysqli was preferable over mysql for a decade, and now it's gone).
Title: Re: SMF 2.x and PHP7
Post by: Kindred on January 21, 2017, 03:43:16 PM
I disagree with your contention... however, if you bothered reading, you would note that the 2.0.14 release will support php 7
Title: Re: SMF 2.x and PHP7
Post by: Kissaki on January 22, 2017, 07:15:19 AM
I did read that.
That doesn't change the fact that I upgraded my server to a long released LTS release that SMF does not work on right now.
Title: Re: SMF 2.x and PHP7
Post by: auto:blank on January 22, 2017, 07:53:06 AM
I'm too trying to get into php7. as per the review php7 is said to be much efficient and have better performance (according to zend benchmark). I have SMF & WP in same server I haven't switched to php7 because of SMF's incompatibility.
Title: Re: SMF 2.x and PHP7
Post by: Steve on January 22, 2017, 08:21:03 AM
Marking solved as the OP's question has been answered by Illori and Arantor.
Title: Re: SMF 2.x and PHP7
Post by: nend on January 22, 2017, 08:28:10 AM
Quote from: Kissaki on January 21, 2017, 10:53:38 AMThe current Ubuntu LTS release Xenial 16.04, which was released in 2015 (https://en.wikipedia.org/wiki/Ubuntu_version_history#Ubuntu_16.04_LTS_.28Xenial_Xerus.29) provides PHP7 and no earlier versions (http://packages.ubuntu.com/xenial/php/).

Official release was 2016 and there are a few guides that I have ran into online that show how to install PHP 5 and even PHP 5 and 7 side by side.
Title: Re: SMF 2.x and PHP7
Post by: Kindred on January 22, 2017, 08:38:06 AM
and every DECENT host right now still runs both in parallel.