What's the Modx max PHP version right now?

We’re running Modx on PHP 8.4.20, Ubuntu 24.04, 3.2.0-pl/3.0.4pl/ Apache. Although Modx works fine, we’re finding Installer and various extras either fail install or upgrade, fail to run (Upgrade Modx) or in some cases, crash Modx (pdoTools). The Modx server requirements say “PHP 8 is also supported”, which is a bit vague.

Downgrading to PHP 8.1 creates a stable environment again. Does anyone have any info as to the best current maximum PHP version for stable operation of Modx and the commonly downloaded Extras? Thanks.

I recently installed MODX 3.2.0-pl on PHP 8.5.6, when migrating from MODX2 to MODX3.

No issues whatsoever, and the site has a bunch of extras (including PdoTools). For a few sites we have on Modx Cloud, max. suppored version is 8.3 at the moment.

Thanks for the reply, Excavator. We found going back to 8.1 fixed it, but interested to see you have 8.5.6 running with no issues. Wonder where our problem is.

The version of PHP 8 you use shouldn’t matter much.
The biggest difference when using MODX is, that newer PHP 8 versions tend to generate more warnings/deprecation notices.
So you might want to check the settings display_errors or error_reporting in the php.inifile, to make sure that no warnings get output to the user (which can break the functionality).