omert
February 11, 2024, 10:11am
1
Your software
My Mautic version is: 5.0.3
My PHP version is: 8.0.28
My Database type and version is: MySQL 8.0.35
Your problem
My problem is:
Seems like when using PHP8.0-FPM on my NGINX, MAUTIC 5.0.3 works OK.
But… when I switch the MAUTIC site over to PHP8.1-FPM, I get the red offline message (see screenshot).
What am I missing?
Could anybody please direct me on how to move MAUTIC to PHP 8.1?
These errors are showing in the log:
Steps I have tried to fix the problem:
Please provide logs from <mautic-root>/var/logs
.
My guess some PHP extensions are not installed. Also I would try to install composer packages.
1 Like
omert
February 11, 2024, 3:19pm
3
Could someone please post an organized HOW-TO on how to fully migrate MAUTIC 5 from PHP 8.0 to PHP 8.1?
*required PHP extensions
*composer modules, modification & commands (if required)
*etc…
omert
February 20, 2024, 11:47am
4
I’ve installed every imaginable PHP8.1 extension and when I switch over from PHP8.0-FPM to PHP8.1-FPM on NGINX, I still get that red error message so I have to switch it back to 8.0 for it to work again. Are you sure MAUTIC 5.0.3 supports PHP 8.1?
Yes, it just have to be small enough version of 8.1:
{
"version": "5.0.3",
"stability": "stable",
"minimum_php_version": "8.0.2",
"maximum_php_version": "8.1.99",
"minimum_mysql_version": "5.7.14",
"minimum_mariadb_version": "10.2.7",
"show_php_version_warning_if_under": "8.0.2",
"minimum_mautic_version": "4.4.10",
"announcement_url": "https://github.com/mautic/mautic/releases/tag/5.0.3"
}
omert
February 21, 2024, 5:41am
6
Well…
For some reason, 5.0.3 runs on 8.0 but not on 8.1.
What’s missing?
Did you install all the necessary php extensions and reinstall php dependencies using php 8.1?
What is the error that you are getting ?
Best, M.