General advice needed.
Hi, I have been running Mautic in a PHP 7.4 environment, we are moving to a new environment and I need to move to PHP 8.1.
Does anyone have some general advice for that?
In the best of worlds, I would just like to move all the files to the new location, but I think that will not really work, any ideas?
What version of Mautic are you running? 4.4.9 only supports 8.0 → < https://github.com/mautic/mautic/blob/aa4f8b678bc13edf0b9f1f51cf7d642b6fbaf347/app/release_metadata.json >.
But in general:
- export files & database
- move files to new server
- import database to new server
- install all the required php extensions Mautic depends on, this list should include all of them:
php8.0-imap php8.0-curl php8.0-mbstring php8.0-zip php8.0-gd php8.0-mysql php8.0-intl php8.0-fpm
This package
php8.0-fpm
is only required if you run php using FPM.
- I would also reinstall the dependencies
- clear the cache
- point mautic domain to the new server
That should give you a working Mautic instance on another server.
Regards, M.
1 Like
system
Closed
3
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.