Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-08-09, 18:19:29
Awww! Poor thing! LOL
 

Ken

2024-08-09, 09:20:52
 

Skhilled

2024-07-06, 10:33:18
 :D
 

Ken

2024-07-06, 06:40:47
Happy Saturday after the 4th of July!
 :fireworks:
 

Skhilled

2024-07-04, 20:27:02
Happy Day Off From Work!  :D
 

Ken

2024-06-25, 06:23:12
84... who knew?  laughing7
...2013 was my *magic* year
 

Skhilled

2024-06-14, 22:09:12
I hope so! LOL
 

Ken

2024-06-14, 21:41:30
My B-Day is forthcoming and maybe it will be far enough along so that I can be a regular Dancing Fool for that day!!! :banana: :2funny:
 

Ken

2024-06-14, 21:38:38
Happy Friday everyone! I'm  SOOO glad to see Friday and not just because it's the weekend, but because it marks one more day in the recovery of my foot!  laughing7

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: PHP 7.3 Upgrade  (Read 11026 times)

0 Members and 1 Guest are viewing this topic.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 9417
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
PHP 7.3 Upgrade
« on: August 17, 2019, 10:38:32 AM »
I've changed the account from PHP 7.1 to 7.3. Now it loads MUCH faster!!!  :banana:

Let me know if there are any problems. You can always change the php version in cPanel, if needed if a mod, etc. doesn't work properly.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11934
  • Gender: Male
  • View Gallery
Re: PHP 7.3 Upgrade
« Reply #1 on: August 17, 2019, 11:49:01 AM »
Good job, don't see any issues so far.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 9417
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #2 on: August 17, 2019, 12:02:27 PM »
But you will...look in your error log. It is filling up with errors.

Ok, found out something. I've been noticing errors on my site related to the arcade for awhile now but thought it just needed updating. But there's more to it than that...

The errors state that the "create_function ()" is depreciated. After a search on Google it seems that it should be changed to "function ()". Now for the bad news...LOL There's tons of "create_function ()" in many files in many places through out SMF 2.0.15! They would all need to be changed but there's no telling what would happened if you did that. Not to mention the same for the mods and themes...

Maybe I'll play around with it on a test site and see what happens. ;) I'll change it back until I find a fix, if I can.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11934
  • Gender: Male
  • View Gallery
Re: PHP 7.3 Upgrade
« Reply #3 on: August 17, 2019, 04:51:21 PM »
I hope you can get it sorted!  :o
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 9417
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #4 on: August 17, 2019, 07:00:25 PM »
Ok, found out something. I've been noticing errors on my site related to the arcade for awhile now but thought it just needed updating. But there's more to it than that...

The errors state that the "create_function ()" is depreciated. After a search on Google it seems that it should be changed to "function ()". Now for the bad news...LOL There's tons of "create_function ()" in many files in many places through out SMF 2.0.15! They would all need to be changed but there's no telling what would happened if you did that. Not to mention the same for the mods and themes...

So, everyone has been put back to 7.1 for now.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11934
  • Gender: Male
  • View Gallery
Re: PHP 7.3 Upgrade
« Reply #5 on: August 18, 2019, 05:52:31 AM »
Whoa!  laughing7

Glad you sorted that out, Steve.  :thumbup:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 9417
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #6 on: August 18, 2019, 08:03:22 AM »
Yeah, I'm not trying to rewrite SMF. LOL

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11934
  • Gender: Male
  • View Gallery
Re: PHP 7.3 Upgrade
« Reply #7 on: August 19, 2019, 07:03:21 AM »
The load times started being really long yesterday, it takes several minutes for a page to finish loading now.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 9417
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #8 on: August 19, 2019, 08:08:01 AM »
Maybe there was a server issue but I had no problems here or on any of the other sites.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 9417
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #9 on: August 19, 2019, 09:39:57 AM »
Bigguy just reminded me about a mod that works for 7.2 to make smf 2.0.x work with it at smfhacks.com.

https://www.smfhacks.com/index.php/topic,9707.0.html

I see Chen's site listed in the credits and it reminded me he did something like that and I've forgotten about it. Looks like they teamed up to make it. But Chen's site is down atm...

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11934
  • Gender: Male
  • View Gallery
Re: PHP 7.3 Upgrade
« Reply #10 on: August 20, 2019, 03:50:43 AM »
Maybe there was a server issue but I had no problems here or on any of the other sites.

Doc-Skillz was slow for me, but not as slow as the load speeds here on OFF, now, this morning the speeds are back to normal on Doc-Skillz and take only a few seconds for a full page load.
Just now I ran a stopwatch on an OFF page and it came in at 02:48
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 9417
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #11 on: August 20, 2019, 07:50:11 AM »
I do know that backups are done during the night so maybe that's why? I'm usually not up around that time except maybe on a Friday or if I take a day off from work.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 9417
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #12 on: August 24, 2019, 06:33:06 PM »
7.3 works very well with 2.1! :)

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 9417
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #13 on: September 28, 2019, 05:15:57 AM »
How are things running for you here?

It is possible that you may need this mod to make PHP 7+ more compatible with the forum:

 SMF 2.0.X - PHP 7.2+ Compatibility - https://www.smfhacks.com/index.php?action=downloads;sa=view;id=215

I've installed it on Docskillz and Crip Zone. See if they run faster for you.

Offline Mick

Re: PHP 7.3 Upgrade
« Reply #14 on: October 23, 2019, 06:49:29 PM »
Personally I'd wait for 2.0.16 to come out, which shouldn't be too long now, that will suppress the errors your seeing from running SMF in php 7.2 - 7.3  But obviously it won't suppress errors coming from mods that are still not compatible. 

If I'm understanding this correctly, after installing that php compatibility mod it will prevent you from updating to 2.0.16 
Tinyportal.net Running SMF 2.1.4 / Tinyportal 3.0.0
Camera Craniums Running SMF 2.1.4 / Tinyportal 3.0.0, bridged with Coppermine 1.6.25
Guitarist Guild Running SMF 2.1.4 / Tinyportal 3.0.0
The Garden Machinery Forum Running SMF 2.1.4 / Tinyportal 3.0.0
YouTube