Just a short question. Currently using PHP 8.2.28, but I do have option on shared hosting to raise version to 8.4.5. Which PHP version is suggested to use with Flarum 1.8.x? Thanks.
Which version of PHP is suggested for 1.8.x version?
- Best Answerset by Silvestrus
Silvestrus both 8.2 and 8.3 work ok as long as you disable deprecation warnings. 8.3 seems to be the current stable and Flarum should work with it. 8.4 might be too risky.
Make sure to run composer update --preer-dist --no-dev -a
whenever you change php versions, this will make sure that all dependencies compatible with the respective hosting environment are loaded. Understand this also updates all extensions.