The following extensions are required by MODX, or are commonly required by extras: zlib , json , gd , pdo (specifically pdo_mysql ), imagick , simplexml , curl , and mbstring .
I just turned on display_errors in the php.ini and got this:
Fatal error: Uncaught Error: Class 'PDO' not found in /home/site/dev.site.co.uk/core/src/Revolution/modX.php:500 Stack trace: #0 /home/site/dev.ajcarart.co.uk/core/src/Revolution/modX.php(449): MODX\Revolution\modX->loadConfig('/home/site...', Array, Array) #1 /home/site/dev.site.co.uk/index.php(41): MODX\Revolution\modX->__construct() #2 {main} thrown in /home/site/dev.site.co.uk/core/src/Revolution/modX.php on line 500
Yes I did Bob.
After chatting with the hosting company it turned out to be caused by the wrong version of php7.4!
I originally use alt-php74 which is associated with the CloudLinux PHP selector.
They suggested is Use ea-php74 via MultiPHP Manager in CPanel, and it worked fine.
Not sure why why - but that was the solution!
And there’s me thinking php is php!
Leaving this here as the solution on the off-chance someone else has the same issue
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.