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
PHP 8.x versions and MT 19.0
-
- Forecaster
- Posts: 153
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: PHP 8.x versions and MT 19.0
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
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
Last edited by FSC830 on Thu Aug 08, 2024 10:38 am, edited 1 time in total.
-
- Newbie
- Posts: 4
- Joined: Mon Aug 02, 2021 10:26 am
- Station model: Davis Pro2+
- Software: Weather Display
Re: PHP 8.x versions and MT 19.0
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 */
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 */
- WessexWeather
- Forecaster
- Posts: 130
- Joined: Mon Aug 21, 2017 6:26 pm
- Location: Wimborne, East Dorset, UK
- Station model: Davis Vantage Vue
- Software: Meteobridge
- Contact:
Re: PHP 8.x versions and MT 19.0
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?
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?
Regards,
Simon (WessexWeather)
Simon (WessexWeather)
-
- Forecaster
- Posts: 153
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: PHP 8.x versions and MT 19.0
When did the updates stopped? Immediately after updating PHP, after some time (hours, days)?
Which type pf updating you are using, the API?
Regards
Which type pf updating you are using, the API?
Regards
- WessexWeather
- Forecaster
- Posts: 130
- Joined: Mon Aug 21, 2017 6:26 pm
- Location: Wimborne, East Dorset, UK
- Station model: Davis Vantage Vue
- Software: Meteobridge
- Contact:
Re: PHP 8.x versions and MT 19.0
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.
No problems at all since reverting to PHP 7.4.
Regards,
Simon (WessexWeather)
Simon (WessexWeather)
-
- Forecaster
- Posts: 153
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: PHP 8.x versions and MT 19.0
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
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