Page 1 of 1

PHP 8.x versions and MT 19.0

Posted: Thu Aug 08, 2024 7:35 am
by IngemarS
Hi,

Before I - at last have time to - do an update to MT 19.0, I have some thoughts around 8.x versions.

a) Has anyone seen any problems using PHP 8.1 or 8.2, my vendors says 8.1 is thought of being the "standard"/"native choice"?!

b) Should I update my PHP settings before installing MT 19.0, or afterwards? Right now MT 18.0 is running on PHP 7.4.

Regards,

IngemarS

Re: PHP 8.x versions and MT 19.0

Posted: Thu Aug 08, 2024 8:17 am
by FSC830
Hi,

currently I am running PHP 8.3 at my live site since several months, no issues seen.
Note: only the Desktop view is modified, not the mobile area.

Which to update first is a choice between bad and evil :? .
When updating PHP first, some sites may be not running correctly due to deprecated functions.
When updating the script first similar issues can be happen because of unknown functions in PHP7...

Anyhow my choice would be to update PHP first and the template very close afterwards.

Regards

Re: PHP 8.x versions and MT 19.0

Posted: Thu Aug 08, 2024 9:23 am
by IngemarS
Thanks FSC830,

That sounds like a good ideas. Being well prepared - than the site will not down for many minutes. A late evening job.

Regards

IngemarS

/* Problem solved */

Re: PHP 8.x versions and MT 19.0

Posted: Fri Aug 23, 2024 1:25 pm
by WessexWeather
Interesting to find this post, because having used Meteotemplate almost without issue since 2017 I have been reluctant to update from 18.0 to 19.0 and my PHP version from 7.4 to 8.x.

I took the plunge last week, and everything was fine until today (except for some blocks and plugins that no longer work, which I have deleted) when my database suddenly stopped updating overnight.

I switched back to 7.4 and BOOM, instant updates. I tried 8.0, 8.1, 8.2 and 8.3 and with all the 8.x versions updates stopped again. So I have left it at 7.4 for now, but would rather use a later version for security reasons.

Anyone else had issues with updates using Cranberry and PHP 8.x?

Re: PHP 8.x versions and MT 19.0

Posted: Sat Aug 24, 2024 6:18 am
by FSC830
When did the updates stopped? Immediately after updating PHP, after some time (hours, days)?
Which type pf updating you are using, the API?

Regards

Re: PHP 8.x versions and MT 19.0

Posted: Tue Aug 27, 2024 8:02 am
by WessexWeather
As per my post, my updates stopped suddenly a week after updating my template and PHP version, and I use the API.

No problems at all since reverting to PHP 7.4.

Re: PHP 8.x versions and MT 19.0

Posted: Tue Aug 27, 2024 8:13 am
by FSC830
Very weird, indeed.
I am running several templates (one live, the others in VMs and test environment), all are operating since the first day I used PHP 8.x, in all the API is used for updating.
Currently all my sites are running PHP 8.3.10 without any issue.

Regards